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:
gconsidine
2017-07-31 17:07:25 -04:00
parent 59157565bd
commit bdb2bbbd41
9 changed files with 171 additions and 24 deletions

View File

@@ -1,6 +1,6 @@
.at-Modal-body {
font-size: @at-font-size;
padding: 0;
padding: @at-padding-panel 0;
}
.at-Modal-dismiss {

View File

@@ -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 {