Add link to /admin on homepage for localhost.
This commit is contained in:
parent
1867d30d88
commit
ae28e3a0a6
1 changed files with 3 additions and 0 deletions
|
@ -76,6 +76,9 @@ body > .nice_link
|
||||||
{% else %}
|
{% else %}
|
||||||
<a class="nice_link" href="/login">Log in</a>
|
<a class="nice_link" href="/login">Log in</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if request.is_localhost %}
|
||||||
|
<a class="nice_link" href="/admin">Admin</a>
|
||||||
|
{% endif %}
|
||||||
<div class="link_group">
|
<div class="link_group">
|
||||||
<a class="nice_link" href="/?theme=turquoise">Turquoise</a>
|
<a class="nice_link" href="/?theme=turquoise">Turquoise</a>
|
||||||
<a class="nice_link" href="/?theme=slate">Slate</a>
|
<a class="nice_link" href="/?theme=slate">Slate</a>
|
||||||
|
|
Loading…
Reference in a new issue