feat(apps): worked on pinning apps

This commit is contained in:
Torkel Ödegaard
2016-01-11 18:03:08 +01:00
parent 4da31291d2
commit e081a5c5a0
8 changed files with 29 additions and 39 deletions

View File

@@ -8,7 +8,6 @@ import (
type AppPluginPage struct {
Text string `json:"text"`
Icon string `json:"icon"`
Url string `json:"url"`
ReqRole models.RoleType `json:"reqRole"`
}
@@ -20,8 +19,8 @@ type AppPluginCss struct {
type AppPlugin struct {
FrontendPluginBase
Css *AppPluginCss `json:"css"`
Page *AppPluginPage `json:"page"`
Css *AppPluginCss `json:"css"`
Page []*AppPluginPage `json:"page"`
Pinned bool `json:"-"`
Enabled bool `json:"-"`