ux(): added New and Import under divider to dashboard subnav

This commit is contained in:
Torkel Ödegaard
2016-02-22 21:51:31 +01:00
parent 18fcb23371
commit acfc119409
5 changed files with 37 additions and 35 deletions
+6 -5
View File
@@ -16,9 +16,10 @@ type PluginCss struct {
}
type NavLink struct {
Text string `json:"text"`
Icon string `json:"icon"`
Img string `json:"img"`
Url string `json:"url"`
Children []*NavLink `json:"children"`
Text string `json:"text,omitempty"`
Icon string `json:"icon,omitempty"`
Img string `json:"img,omitempty"`
Url string `json:"url,omitempty"`
Divider bool `json:"divider,omitempty"`
Children []*NavLink `json:"children,omitempty"`
}