mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 21:21:21 -03:30
Changed schedule disable icon to fa-stop and simplified tooltip text. On log viewer dates are not formatted correctly.
This commit is contained in:
parent
61c0355f77
commit
5a69da96ab
@ -30,12 +30,14 @@ angular.module('LogViewerStatusDefinition', [])
|
||||
},
|
||||
"started": {
|
||||
label: "Started",
|
||||
type: "text",
|
||||
type: "date",
|
||||
"filter": "date:'MM/dd/yy HH:mm:ss'",
|
||||
readonly: true
|
||||
},
|
||||
"finished": {
|
||||
label: "Finished",
|
||||
type: "text",
|
||||
type: "date",
|
||||
"filter": "date:'MM/dd/yy HH:mm:ss'",
|
||||
readonly: true
|
||||
},
|
||||
"elapsed": {
|
||||
|
||||
@ -278,7 +278,9 @@ angular.module('LogViewerHelper', ['ModalDialog', 'Utilities', 'FormGenerator',
|
||||
}
|
||||
}
|
||||
else {
|
||||
html += "{{ " + fld + " }}";
|
||||
html += "{{ " + fld ;
|
||||
html += (form.fields[fld].filter) ? " | " + form.fields[fld].filter : "" ;
|
||||
html += " }}";
|
||||
}
|
||||
html += "</td></tr>\n";
|
||||
}
|
||||
|
||||
@ -493,14 +493,14 @@ angular.module('SchedulesHelper', [ 'Utilities', 'RestServices', 'SchedulesHelpe
|
||||
itm = scope[list.name][item_idx];
|
||||
itm.enabled = (itm.enabled) ? true : false;
|
||||
if (itm.enabled) {
|
||||
itm.play_tip = 'Schedule is Active. Click to temporarily stop.';
|
||||
itm.play_tip = 'Schedule is active. Click to stop.';
|
||||
itm.status = 'active';
|
||||
itm.status_tip = 'Schedule is Active. Click to temporarily stop.';
|
||||
itm.status_tip = 'Schedule is active. Click to stop.';
|
||||
}
|
||||
else {
|
||||
itm.play_tip = 'Schedule is temporarily stopped. Click to activate.';
|
||||
itm.play_tip = 'Schedule is stopped. Click to activate.';
|
||||
itm.status = 'stopped';
|
||||
itm.status_tip = 'Schedule is temporarily stopped. Click to activate.';
|
||||
itm.status_tip = 'Schedule is stopped. Click to activate.';
|
||||
}
|
||||
|
||||
itm.nameTip = item.name + " schedule. Click to edit.";
|
||||
|
||||
@ -1032,7 +1032,7 @@ input[type="checkbox"].checkbox-no-label {
|
||||
}
|
||||
|
||||
.icon-schedule-enabled-true:before {
|
||||
content: "\f04c";
|
||||
content: "\f04d";
|
||||
}
|
||||
|
||||
.icon-schedule-enabled-false:before {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user