diff options
author | Simo Sorce <simo@redhat.com> | 2014-03-26 15:44:26 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2014-03-28 14:12:08 -0400 |
commit | dbcead832f700ad63dc382648f0e3b1b84cd4d23 (patch) | |
tree | c19d561ac718ad1620c0e5568ae759e99b0c5390 /templates/master-admin.html | |
parent | 134914682267592e2b42276255aff24bd2fabe6b (diff) | |
download | ipsilon.git-dbcead832f700ad63dc382648f0e3b1b84cd4d23.tar.gz ipsilon.git-dbcead832f700ad63dc382648f0e3b1b84cd4d23.tar.xz ipsilon.git-dbcead832f700ad63dc382648f0e3b1b84cd4d23.zip |
Automatically build configuration page menu
Do not hardcode it, rather build it out of the pages tree.
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'templates/master-admin.html')
-rw-r--r-- | templates/master-admin.html | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/templates/master-admin.html b/templates/master-admin.html index 43770c1..a5a696d 100644 --- a/templates/master-admin.html +++ b/templates/master-admin.html @@ -41,15 +41,11 @@ </li> </ul> <ul class="nav navbar-nav navbar-primary"> + {% for page in menu %} <li> - <a href="{{ basepath }}/admin/login">Login plugins</a> - </li> - <li> - <a href="{{ basepath }}/admin">Providers</a> - </li> - <li> - <a href="{{ basepath }}/admin">Sites</a> + <a href="{{ page.url }}">{{ page.title }}</a> </li> + {% endfor %} </ul> </div> </nav> |