mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
Updated empty list text for notification templates. Removed unnecessary empty list text on org users/admins.
This commit is contained in:
@@ -13,7 +13,6 @@ export default function(){
|
|||||||
iterator: 'notification_template',
|
iterator: 'notification_template',
|
||||||
index: false,
|
index: false,
|
||||||
hover: false,
|
hover: false,
|
||||||
emptyListText: 'No notifications exist',
|
|
||||||
|
|
||||||
fields: {
|
fields: {
|
||||||
status: {
|
status: {
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ export default function(){
|
|||||||
iterator: 'notification',
|
iterator: 'notification',
|
||||||
index: false,
|
index: false,
|
||||||
hover: false,
|
hover: false,
|
||||||
emptyListText: 'No Notifications exist',
|
emptyListText: "This list is populated by notification templates added from the <a ui-sref='notifications.add'>Notifications</a> section",
|
||||||
basePath: 'notification_templates',
|
basePath: 'notification_templates',
|
||||||
fields: {
|
fields: {
|
||||||
name: {
|
name: {
|
||||||
|
|||||||
@@ -27,7 +27,6 @@ export default ['$stateParams', '$scope', 'UserList', 'Rest', '$state', 'generat
|
|||||||
var listMode = 'users';
|
var listMode = 'users';
|
||||||
|
|
||||||
list = _.cloneDeep(UserList);
|
list = _.cloneDeep(UserList);
|
||||||
list.emptyListText = "Please add items to this list";
|
|
||||||
delete list.actions.add;
|
delete list.actions.add;
|
||||||
list.searchRowActions = {
|
list.searchRowActions = {
|
||||||
add: {
|
add: {
|
||||||
|
|||||||
@@ -26,7 +26,6 @@
|
|||||||
$scope.org_id = data.id;
|
$scope.org_id = data.id;
|
||||||
|
|
||||||
list = _.cloneDeep(UserList);
|
list = _.cloneDeep(UserList);
|
||||||
list.emptyListText = "Please add items to this list";
|
|
||||||
delete list.actions.add;
|
delete list.actions.add;
|
||||||
list.searchRowActions = {
|
list.searchRowActions = {
|
||||||
add: {
|
add: {
|
||||||
|
|||||||
Reference in New Issue
Block a user