aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/journal/templates/journal/microentry_detail.html
diff options
context:
space:
mode:
Diffstat (limited to 'bn_django/journal/templates/journal/microentry_detail.html')
-rw-r--r--bn_django/journal/templates/journal/microentry_detail.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/bn_django/journal/templates/journal/microentry_detail.html b/bn_django/journal/templates/journal/microentry_detail.html
index bb94853..245fe32 100644
--- a/bn_django/journal/templates/journal/microentry_detail.html
+++ b/bn_django/journal/templates/journal/microentry_detail.html
@@ -3,7 +3,7 @@
{% load comments %}
{% block path %}{{ block.super }}
&raquo;<a href="/journal/microentries/"> microentries</a>
- &raquo;<a href="/journal/microentries/{{ object.id }}"> {{ object.title }}</a>
+ &raquo;<a href="{{ item.get_absolute_url }}"> {{ object.title }}</a>
{% endblock %}
{% block title %}
@@ -13,7 +13,7 @@
{% block content %}<br />
{% if object %}<div class="right_stuff">
<p class="date">dated {{ object.date }},
-{% if object.author %}<br />written by {{ object.author }},{% endif %}
+{% if object.author %}<br />written by {{ object.author.username }},{% endif %}
{% if object.last_edited %}<br />last edited {{ object.last_edited }}.{% endif %}
</div>
<p class="journal_entry">{{ object.html_content|safe }}</p>