Mercurial > agora-palash
diff templates/snippet/snippet_details.djhtml @ 148:f876cc7b7270
Clean up snippet view HTML slightly (minor edit)
author | dellsystem <ilostwaldo@gmail.com> |
---|---|
date | Mon, 15 Oct 2012 00:23:04 -0400 |
parents | ee999b9f33f5 |
children | c7be7def8b57 |
line wrap: on
line diff
--- a/templates/snippet/snippet_details.djhtml Mon Oct 15 00:22:05 2012 -0400 +++ b/templates/snippet/snippet_details.djhtml Mon Oct 15 00:23:04 2012 -0400 @@ -48,8 +48,8 @@ <h1>{{ snippet.get_title }}</h1> <div class="snippet-options"> - <abbr title="{% trans "Time to live" %}" - >TTL: + <abbr title="{% trans "Time to live" %}"> + TTL: </abbr> {{ snippet.expires|timeuntil }} — @@ -77,7 +77,7 @@ <div> Author: {% if snippet.author %} - <a href="{% url agora.apps.profile.views.showprofile snippet.author %}"> + <a href="{{ snippet.author.get_absolute_url }}"> {{ snippet.author }} </a> {% else %}