diff options
author | François Schmidts <francois.schmidts@gmail.com> | 2015-10-11 23:34:33 +0200 |
---|---|---|
committer | François Schmidts <francois.schmidts@gmail.com> | 2016-01-26 23:46:31 +0100 |
commit | 5f66e6465d3822b150898de2a7fb8df39ed7fdc6 (patch) | |
tree | 394948060f5cff75de651b65b2a6509608c8ac60 /src/web/templates/layout.html | |
parent | a bit of cleaning, putting code where it belongs (diff) | |
download | newspipe-5f66e6465d3822b150898de2a7fb8df39ed7fdc6.tar.gz newspipe-5f66e6465d3822b150898de2a7fb8df39ed7fdc6.tar.bz2 newspipe-5f66e6465d3822b150898de2a7fb8df39ed7fdc6.zip |
removing misplaced stuffs from views, more controllers use
Diffstat (limited to 'src/web/templates/layout.html')
-rw-r--r-- | src/web/templates/layout.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/web/templates/layout.html b/src/web/templates/layout.html index cf2498e2..eb213ca5 100644 --- a/src/web/templates/layout.html +++ b/src/web/templates/layout.html @@ -81,12 +81,12 @@ <div><span class="glyphicon glyphicon-user"></span> <b class="caret"></b></div> </a> <ul class="dropdown-menu"> - <li><a href="{{ url_for("profile") }}"><span class="glyphicon glyphicon-user"></span> {{ _('Profile') }}</a></li> - <li><a href="{{ url_for("management") }}"><span class="glyphicon glyphicon-cog"></span> {{ _('Your data') }}</a></li> + <li><a href="{{ url_for("user.profile") }}"><span class="glyphicon glyphicon-user"></span> {{ _('Profile') }}</a></li> + <li><a href="{{ url_for("user.management") }}"><span class="glyphicon glyphicon-cog"></span> {{ _('Your data') }}</a></li> <li><a href="{{ url_for("about") }}"><span class="glyphicon glyphicon-question-sign"></span> {{ _('About') }}</a></li> {% if g.user.is_admin() %} <li role="presentation" class="divider"></li> - <li><a href="{{ url_for("dashboard") }}"><span class="glyphicon glyphicon-dashboard"></span> {{ _('Dashboard') }}</a></li> + <li><a href="{{ url_for("admin.dashboard") }}"><span class="glyphicon glyphicon-dashboard"></span> {{ _('Dashboard') }}</a></li> <li role="presentation" class="divider"></li> {% endif %} <li><a href="{{ url_for("logout") }}"><span class="glyphicon glyphicon-log-out"></span> {{ _('Logout') }}</a></li> |