]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/osqaadmin/index.html
osqa-342
[osqa.git] / forum / skins / default / templates / osqaadmin / index.html
index 5385da65794e7823ef131f64c3e1b1354671cf44..30c3f65e415c24b18ca31d82d56d0f2ffbc2706e 100644 (file)
                     <tr>\r
                         <td>\r
                             {% ifequal settings_pack "bootstrap" %}\r
-                                {% trans "Your site is running in bootstrap mode, click the button bellow to revert to defaults." %}<br />\r
+                                {% trans "Your site is running in bootstrap mode, click the button below to revert to defaults." %}<br />\r
                             {% else %}\r
                                 {% ifequal settings_pack "default" %}\r
-                                    {% trans "Your site is running in standard mode, click the button bellow to run in bootstrap mode." %}<br />\r
+                                    {% trans "Your site is running in standard mode, click the button below to run in bootstrap mode." %}<br />\r
                                 {% else %}\r
-                                    {% trans "Your site is running with some customized settings, click the buttons bellow to run with defaults or in bootstrap mode" %}\r
+                                    {% trans "Your site is running with some customized settings, click the buttons below to run with defaults or in bootstrap mode" %}\r
                                 {% endifequal %}\r
                             {% endifequal %}\r
                             {% ifnotequal settings_pack "default" %}\r
                             {% endifnotequal %}\r
                         </td>\r
                     </tr>\r
+                    <tr>\r
+                        <td>\r
+                            <em>"Bootstrap mode" relaxes the minimum required reputation to perform actions like voting and commenting.\r
+                            This is useful to help new communities get started.</em>\r
+                        </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 +71,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