Mercurial > farol
changeset 77:641a2b589613
Product better HTML
author | Benoît Allard <benoit.allard@greenbone.net> |
---|---|
date | Thu, 09 Oct 2014 12:15:15 +0200 |
parents | e39fd204eb33 |
children | 264d4579f6bf |
files | farol/templates/base.j2 |
diffstat | 1 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/farol/templates/base.j2 Thu Oct 09 11:50:02 2014 +0200 +++ b/farol/templates/base.j2 Thu Oct 09 12:15:15 2014 +0200 @@ -75,14 +75,14 @@ </ul> </li> {% endif %} - {% if has_current %} - {% if error %} - <p class="navbar-text">Document is <a id="error-popover" href="#" tabindex="0" class="navbar-link" data-toggle="popover" data-trigger="focus" data-placement="bottom" title="First Error:" data-content="{{ error }}"><strong>invalid</strong></a></p> - {% else %} - <p class="navbar-text">Document looks valid</p> - {% endif %} + </ul> + {% if has_current %} + {% if error %} + <p class="navbar-text">Document is <a id="error-popover" href="#" tabindex="0" class="navbar-link" data-toggle="popover" data-trigger="focus" data-placement="bottom" title="First Error:" data-content="{{ error }}"><strong>invalid</strong></a></p> + {% else %} + <p class="navbar-text">Document looks valid</p> {% endif %} - </ul> + {% endif %} <ul class="nav navbar-nav navbar-right"> {% if has_current %} <li class="dropdown{{ ' active' if active == 'render' }}">