aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/journal/templates/journal/microentry_detail.html
diff options
context:
space:
mode:
authorbnewbold <bnewbold@eta.mit.edu>2009-02-01 06:25:10 -0500
committerbnewbold <bnewbold@eta.mit.edu>2009-02-01 06:25:10 -0500
commitc7b29da94d3b85ec91f0d5e2789db11a43473df5 (patch)
treea5502674da4a9ed8367f911112d34c094481e83c /bn_django/journal/templates/journal/microentry_detail.html
parent0988ee83c8a8b24801624beae78ceba1bfa82d07 (diff)
downloadbnewnet-c7b29da94d3b85ec91f0d5e2789db11a43473df5.tar.gz
bnewnet-c7b29da94d3b85ec91f0d5e2789db11a43473df5.zip
lots went on:
* rss feeds * some admin interface stuff * blah running issues: * admin interface with model inheretence? * rss feeds: unicode cool? * proper year/month implementation (don't want day) * right side bar info * dating issue (datetime vs date)
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>