mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
Merge pull request #100 from marshmalien/ux/fix/orgs
Fix UX items related to Organizations
This commit is contained in:
commit
103118b551
@ -104,6 +104,7 @@ export default [{
|
||||
delete list.actions.add;
|
||||
// @issue Why is the delete action unavailable in this view?
|
||||
delete list.fieldActions.delete;
|
||||
list.listTitle = N_('Teams') + ` | {{ name }}`;
|
||||
list.basePath = `${GetBasePath('organizations')}${$stateParams.organization_id}/teams`;
|
||||
list.emptyListText = "This list is populated by teams added from the <a ui-sref='teams.add'>Teams</a> section";
|
||||
return list;
|
||||
@ -149,6 +150,8 @@ export default [{
|
||||
delete list.actions.add;
|
||||
// @issue Why is the delete action unavailable in this view?
|
||||
delete list.fieldActions.delete;
|
||||
list.title = true;
|
||||
list.listTitle = N_('Inventories') + ` | {{ name }}`;
|
||||
list.basePath = `${GetBasePath('organizations')}${$stateParams.organization_id}/inventories`;
|
||||
list.emptyListText = "This list is populated by inventories added from the <a ui-sref='inventories.add'>Inventories</a> section";
|
||||
return list;
|
||||
@ -199,6 +202,7 @@ export default [{
|
||||
delete list.actions;
|
||||
// @issue Why is the delete action unavailable in this view?
|
||||
delete list.fieldActions.delete;
|
||||
list.listTitle = N_('Projects') + ` | {{ name }}`;
|
||||
list.basePath = `${GetBasePath('organizations')}${$stateParams.organization_id}/projects`;
|
||||
list.emptyListText = "This list is populated by projects added from the <a ui-sref='projects.add'>Projects</a> section";
|
||||
return list;
|
||||
@ -259,7 +263,7 @@ export default [{
|
||||
// @issue Why is the delete action unavailable in this view?
|
||||
delete list.fieldActions.delete;
|
||||
delete list.fields.type;
|
||||
list.listTitle = N_('Job Templates');
|
||||
list.listTitle = N_('Job Templates') + ` | {{ name }}`;
|
||||
list.emptyListText = "This list is populated by job templates added from the <a ui-sref='templates.addJobTemplate'>Job Templates</a> section";
|
||||
list.iterator = 'template';
|
||||
list.name = 'job_templates';
|
||||
@ -344,7 +348,7 @@ export default [{
|
||||
ngClick: 'addUsers()'
|
||||
}
|
||||
};
|
||||
list.listTitle = 'Admins';
|
||||
list.listTitle = N_('Admins') + ` | {{ name }}`;
|
||||
return list;
|
||||
}]
|
||||
}
|
||||
|
||||
@ -52,7 +52,8 @@
|
||||
ng-repeat="card in orgCards track by card.id">
|
||||
<div class="OrgCards-header">
|
||||
<h3 class="OrgCards-label"
|
||||
aw-tool-tip="{{ (card.description || 'Place organization description here') | sanitize }}"
|
||||
ng-click="editOrganization(card.id)"
|
||||
aw-tool-tip="{{ (card.description || '') | sanitize }}"
|
||||
aw-tip-placement="top">
|
||||
{{ card.name }}
|
||||
</h3>
|
||||
|
||||
@ -54,6 +54,7 @@
|
||||
}
|
||||
|
||||
.OrgCards-label {
|
||||
cursor: pointer;
|
||||
margin-top: 0px;
|
||||
font-size: 14px;
|
||||
height: 17px;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user