mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-22 07:51:52 -05:00
Add Config model
* Add ability to configurably cache API responses per model * Fix general error display on credentials * Add current version from API to the documentation link
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
.at-Modal-body {
|
||||
font-size: @at-font-size;
|
||||
padding: 0;
|
||||
padding: @at-padding-panel 0;
|
||||
}
|
||||
|
||||
.at-Modal-dismiss {
|
||||
|
||||
@@ -10,13 +10,15 @@ function atModalLink (scope, el, attrs, controllers) {
|
||||
});
|
||||
}
|
||||
|
||||
function AtModalController (eventService) {
|
||||
function AtModalController (eventService, strings) {
|
||||
let vm = this;
|
||||
|
||||
let overlay;
|
||||
let modal;
|
||||
let listeners;
|
||||
|
||||
vm.strings = strings;
|
||||
|
||||
vm.init = (scope, el) => {
|
||||
overlay = el[0];
|
||||
modal = el.find('.at-Modal-window')[0];
|
||||
@@ -67,7 +69,10 @@ function AtModalController (eventService) {
|
||||
};
|
||||
}
|
||||
|
||||
AtModalController.$inject = ['EventService'];
|
||||
AtModalController.$inject = [
|
||||
'EventService',
|
||||
'ComponentsStrings'
|
||||
]
|
||||
|
||||
function atModal (pathService) {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user