Skip to content

Commit

Permalink
changed absolute url to url template tag in admin link
Browse files Browse the repository at this point in the history
  • Loading branch information
tubaman committed Oct 24, 2010
1 parent 4ef6714 commit 0cf3b6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pinax/templates/default/_account_bar.html
Expand Up @@ -5,7 +5,7 @@
<a href="{% url acct_email %}">{% trans "Account" %}</a>
|
{% if user.is_staff %}
<a href="/admin/">{% trans "Admin" %}</a>
<a href="{% url admin:index %}">{% trans "Admin" %}</a>
|
{% endif %}
<a href="{% if request.openid %}/openid/logout/?next={% url acct_logout %}{% else %}{% url acct_logout %}{% endif %}">{% trans "Logout" %}</a>
Expand All @@ -17,4 +17,4 @@
{% else %}
{% blocktrans %}<a href="{{ acct_login_url }}">Log in</a>{% endblocktrans %}
{% endifsetting %}
{% endif %}
{% endif %}

0 comments on commit 0cf3b6f

Please sign in to comment.