mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 13:25:26 +02:00
feat(templates): new templates capabilities (#862)
This commit is contained in:
parent
c3363604ac
commit
0579251c70
10 changed files with 276 additions and 159 deletions
|
@ -1,8 +1,9 @@
|
|||
function TemplateViewModel(data) {
|
||||
this.Title = data.title;
|
||||
this.Description = data.description;
|
||||
this.Note = data.note ? data.note : data.description;
|
||||
this.Category = data.category;
|
||||
this.Note = data.note;
|
||||
this.Categories = data.categories ? data.categories : [];
|
||||
this.Platform = data.platform ? data.platform : '';
|
||||
this.Logo = data.logo;
|
||||
this.Image = data.image;
|
||||
this.Registry = data.registry ? data.registry : '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue