]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/user.html
fixed minor typo in english translation of the logout page.
[osqa.git] / forum / skins / default / templates / user.html
index 5931f31cbfcdf955496c7c7b9684fed5e18f2200..5ff0d80946f27c86bbecbc2dfe28e0dde9f98e84 100644 (file)
@@ -11,8 +11,7 @@
        </style>
 {% endblock %}
 {% block forejs %}
-    {% if request.user|can_moderate_users %}
-        <script type='text/javascript' src='{% media  "/media/js/com.cnprog.admin.js" %}'></script>
+    {% if request.user.is_superuser %}
         <script type='text/javascript' src='{% media  "/media/js/jquery.form.js" %}'></script>
     {% endif %}
     <script type="text/javascript">
             {% else %}
                 $("#nav_users").attr('className',"on");
             {% endifequal %}
-        }); 
+        });
     </script>
     {% block userjs %}
     {% endblock %}
 {% endblock %}
 {% block content %}
     <div id="mainbar-full">
-        {% include "user_info.html" %}
-        {% include "user_tabs.html" %}
+        {% include "users/info.html" %}
+        {% include "users/tabs.html" %}
         {% block usercontent %}
         {% endblock %}
-        {%comment%}{% include "user_footer.html" %}{%endcomment%}
+        {%comment%}{% include "users/footer.html" %}{%endcomment%}
        </div>
 {% endblock %}<!-- end user.html -->