This commit is contained in:
Henrique Dias 2015-09-27 20:07:34 +01:00
parent 6fcb1dce44
commit e72d6ed041

View File

@ -21,7 +21,7 @@
<ul>
<li><a href="/"><i class="fa fa-home fa-lg"></i> Home</a></li>
{{ if and (Defined . "Config")}}<li><a data-pjax href="/admin/browse/{{ .Config.Content }}/"><i class="fa fa-newspaper-o"></i> Content</a></li>{{ end }}
{{ if and (Defined . "User") }}<li><a data-pjax href="/admin/browse/{{ .Config.User }}/"><i class="fa fa-newspaper-o"></i> Content</a></li>{{ end }}
{{ if and (Defined . "User") }}<li><a data-pjax href="/admin/browse/{{ .User.Content }}/"><i class="fa fa-newspaper-o"></i> Content</a></li>{{ end }}
<li><a data-pjax href="/admin/browse/"><i class="fa fa-folder-o"></i> Browse</a></li>
<li><a data-pjax href="/admin/settings/"><i class="fa fa-cog"></i> Settings</a></li>
<li><a data-pjax id="logout" href="#logout"><i class="fa fa-sign-out"></i> Logout</a></li>