changeset 6815:f6e8b724d0ab

template: add missing closing tag </a> for Lock
author domruf <dominikruf@gmail.com>
date Fri, 21 Oct 2016 18:30:06 +0200
parents 8905386119d2
children f6f6bf39ce64
files kallithea/templates/base/base.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/templates/base/base.html	Wed Jun 28 23:25:41 2017 +0200
+++ b/kallithea/templates/base/base.html	Fri Oct 21 18:30:06 2016 +0200
@@ -154,7 +154,7 @@
                 %if c.db_repo.locked[0]:
                   <li><a href="${h.url('toggle_locking', repo_name=c.repo_name)}"><i class="icon-lock"></i> ${_('Unlock')}</a></li>
                 %else:
-                  <li><a href="${h.url('toggle_locking', repo_name=c.repo_name)}"><i class="icon-lock-open-alt"></i> ${_('Lock')}</li>
+                  <li><a href="${h.url('toggle_locking', repo_name=c.repo_name)}"><i class="icon-lock-open-alt"></i> ${_('Lock')}</a></li>
                 %endif
               %endif
               ## TODO: this check feels wrong, it would be better to have a check for permissions