]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/osqaadmin/index.html
ALteration of the schema to a single content model. As a bonus there is a complete...
[osqa.git] / forum / skins / default / templates / osqaadmin / index.html
index e9a8bf56ad02432cee420719ba7bb652c3c1721e..5385da65794e7823ef131f64c3e1b1354671cf44 100644 (file)
@@ -1,10 +1,7 @@
 {% extends "osqaadmin/base.html" %}\r
 \r
 {% load i18n %}\r
-\r
-{% block adminjs %}\r
\r
-{% endblock %}\r
+{% load user_tags %}\r
 \r
 {% block subtitle %}\r
     {% trans "Dashboard" %}\r
                 <h3>{% trans "Recent activity" %}</h3>\r
                 <table width="100%">\r
                 {% for activity in recent_activity %}\r
-                <tr>\r
-                    <td>\r
-                        {{ activity.user.get_profile_link }} {{ activity.type_as_string }} {% trans "on" %} <a href="{{ activity.question.get_absolute_url }}">{{ activity.question.title }}</a><br />\r
-                        <sub>{{ activity.active_at|date }}, {{ activity.active_at|time }}</sub>\r
-                    </td>\r
-                </tr>\r
+                    {% activity_item activity %}\r
                 {% endfor %}\r
                 </table>\r
             </td>\r