diff options
author | Mike Chen <chagel@gmail.com> | 2009-07-05 10:23:06 +0800 |
---|---|---|
committer | Mike Chen <chagel@gmail.com> | 2009-07-05 10:23:06 +0800 |
commit | 2acb62174ab2cac9c7a88faafcb5f0a22a54db6f (patch) | |
tree | 93e9d22d6fb8a6c882e3915a8511a3ac542a1e67 /templates/user_recent.html | |
download | askbot-2acb62174ab2cac9c7a88faafcb5f0a22a54db6f.tar.gz askbot-2acb62174ab2cac9c7a88faafcb5f0a22a54db6f.tar.bz2 askbot-2acb62174ab2cac9c7a88faafcb5f0a22a54db6f.zip |
initiliaze git rep
Diffstat (limited to 'templates/user_recent.html')
-rw-r--r-- | templates/user_recent.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/user_recent.html b/templates/user_recent.html new file mode 100644 index 00000000..bb2bc99d --- /dev/null +++ b/templates/user_recent.html @@ -0,0 +1,25 @@ +{% extends "user.html" %} +{% load extra_tags %} +{% load humanize %} + +{% block usercontent %} + <div style="padding-top:5px;font-size:13px;"> + {% for act in activities %} + <div style="clear:both;line-height:20px" > + <div style="width:180px;float:left">{% diff_date act.time 3 %}</div> + <div style="width:150px;float:left"> + <span class="user-action-{{ act.type_id }}">{{ act.type }}</span> + </div> + <div style="float:left;overflow:hidden;"> + {% ifequal act.type_id 7 %} + <a href="{{act.badge.get_absolute_url}}" title="{{ act.badge.get_type_display }} : {{ act.badge.description }}" class="medal"><span class="badge{{ act.badge.type }}">●</span> {{ act.badge.name }}</a> + {% else %} + <span class="post-type-{{ act.type_id }}"><a href="{{ act.title_link }}">{{ act.title }}</a></span> + {% if act.summary %}<span class="revision-summary">{{ act.summary }}</span>{% endif %} + {% endifequal %} + <div style="height:5px"></div> + </div> + </div> + {% endfor %} + </div> +{% endblock %}
\ No newline at end of file |