feat(plugins): finished app navigation enhancements, closes #4434

This commit is contained in:
Torkel Ödegaard
2016-03-22 10:15:47 +01:00
parent 7f79024e6a
commit 10df9dc8c3
7 changed files with 43 additions and 36 deletions

View File

@ -42,6 +42,7 @@ type PluginBase struct {
IncludedInAppId string `json:"-"`
PluginDir string `json:"-"`
DefaultNavUrl string `json:"-"`
// cache for readme file contents
Readme []byte `json:"-"`
@ -80,7 +81,7 @@ type PluginInclude struct {
Type string `json:"type"`
Component string `json:"component"`
Role models.RoleType `json:"role"`
AddToNav bool `json:"AddToNav"`
AddToNav bool `json:"addToNav"`
DefaultNav bool `json:"defaultNav"`
Slug string `json:"slug"`