Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

Develop #14

Merged
merged 3 commits into from
Jun 13, 2012
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Display create time and reply time simultaneously.
  • Loading branch information
liuw committed Jun 13, 2012
commit 9fca980f47ab461baf2a2a6c077ead57e4ff1c64
3 changes: 2 additions & 1 deletion june/_templates/module/topic_cell.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ <h3><a href="{{topiclink(topic)}}">{{topic.title}}</a></h3>
<div class="article-meta">
by <a href="/member/{{topic.user.username}}">{{topic.user.username}}</a> •
in <a href="/node/{{topic.node.slug}}">{{topic.node.title}}</a> •
<time datetime="{{xmldatetime(topic.created)}}" title="created">{{timesince(topic.created, locale.code)}}</time>•
{% if topic.reply_count %}
<time datetime="{{xmldatetime(topic.last_reply_time)}}" title="replied">{{timesince(topic.last_reply_time, locale.code)}}</time>
{% else %}
<time datetime="{{xmldatetime(topic.created)}}" title="created">{{timesince(topic.created, locale.code)}}</time>
{{_("no reply")}}
{% end %}
• {{topic.hits or 1}} {{_("hits")}}
</div>
Expand Down