feat(external_plugin): lots of refactoring for side menu link extensions and view data, #3185

This commit is contained in:
Torkel Ödegaard
2015-11-20 09:43:10 +01:00
parent 63b50ab9b1
commit df0bc7bbc4
12 changed files with 99 additions and 94 deletions
+20
View File
@@ -0,0 +1,20 @@
package dtos
type IndexViewData struct {
User *CurrentUser
Settings map[string]interface{}
AppUrl string
AppSubUrl string
GoogleAnalyticsId string
GoogleTagManagerId string
PluginCss []string
PluginJs []string
MainNavLinks []*NavLink
}
type NavLink struct {
Text string `json:"text"`
Icon string `json:"icon"`
Href string `json:"href"`
}