changeset 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 801bb49f3170
children cdfc1d269a75
files templates/snippet/snippet_details.djhtml
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/templates/snippet/snippet_details.djhtml
+++ b/templates/snippet/snippet_details.djhtml
@@ -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  }}
         &mdash;
@@ -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 %}