mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Added extension info to Admin -> Extensions -> Popup
This commit is contained in:
parent
85ac404722
commit
3931c11255
32 changed files with 150 additions and 101 deletions
|
|
@ -34,4 +34,9 @@
|
|||
display: block;
|
||||
}
|
||||
|
||||
.tab-content {
|
||||
grid-column-end: 3;
|
||||
border: 1px solid var(--border-color, #ddd);
|
||||
padding: 10px;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,7 +18,11 @@ export class PluginPopupView extends AbstractViewPopup {
|
|||
saveError: '',
|
||||
id: '',
|
||||
name: '',
|
||||
readme: ''
|
||||
readme: '',
|
||||
author: '',
|
||||
url: '',
|
||||
version: '',
|
||||
released: ''
|
||||
});
|
||||
|
||||
this.config = ko.observableArray();
|
||||
|
|
@ -73,12 +77,20 @@ export class PluginPopupView extends AbstractViewPopup {
|
|||
this.id('');
|
||||
this.name('');
|
||||
this.readme('');
|
||||
this.author('');
|
||||
this.url('');
|
||||
this.version('');
|
||||
this.released('');
|
||||
this.config([]);
|
||||
|
||||
if (oPlugin) {
|
||||
this.id(oPlugin.id);
|
||||
this.name(oPlugin.name);
|
||||
this.readme(oPlugin.readme);
|
||||
this.author(oPlugin.author);
|
||||
this.url(oPlugin.url);
|
||||
this.version(oPlugin.version);
|
||||
this.released(oPlugin.released);
|
||||
|
||||
const config = oPlugin.config;
|
||||
if (arrayLength(config)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue