]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/osqaadmin/index.html
Merging the experimental branch back to trunk.
[osqa.git] / forum / skins / default / templates / osqaadmin / index.html
index 5385da65794e7823ef131f64c3e1b1354671cf44..64670f54519c5dad58ec18186c71a84ce7c541ef 100644 (file)
@@ -56,6 +56,8 @@
                         </td>\r
                     </tr>\r
                 </table>\r
+                <h3>{%trans "Recalculate scores and reputation" %}</h3>\r
+                 <button onclick="if (window.confirm('{% trans "This is a heavy operation, are you sure?" %}')) window.location='{% url admin_denormalize %}';">{% trans "Recalculate" %}</button>\r
             </td>\r
         </tr>\r
         <tr>\r
@@ -63,7 +65,7 @@
                 <h3>{% trans "Recent activity" %}</h3>\r
                 <table width="100%">\r
                 {% for activity in recent_activity %}\r
-                    {% activity_item activity %}\r
+                    {% activity_item activity request.user %}\r
                 {% endfor %}\r
                 </table>\r
             </td>\r