]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/user.html
Javascript error in profile pages.
[osqa.git] / forum / skins / default / templates / user.html
1 {% extends "base_content.html" %}
2 <!-- user.html -->
3 {% load extra_tags %}
4 {% load extra_filters %}
5 {% load humanize %}
6 {% block title %}{% spaceless %}{{ page_title }}{% endspaceless %}{% endblock %}
7 {% block forestyle%}
8     <style type="text/css">
9                 .history-table td { padding: 5px; }
10                 .user-stats-table { margin-left:50px; }
11         </style>
12 {% endblock %}
13 {% block forejs %}
14     {% if request.user.is_superuser %}
15         <script type='text/javascript' src='{% media  "/media/js/jquery.form.js" %}'></script>
16     {% endif %}
17     <script type="text/javascript">
18         var viewUserID = {{view_user.id}};
19         $().ready(function(){
20             {% ifequal view_user request.user%}
21                 $("#nav_profile").attr('className',"on");
22             {% else %}
23                 $("#nav_users").attr('className',"on");
24             {% endifequal %}
25         });
26     </script>
27     {% block userjs %}
28     {% endblock %}
29 {% endblock %}
30 {% block content %}
31     <div id="mainbar-full">
32         {% include "users/info.html" %}
33         {% include "users/tabs.html" %}
34         {% block usercontent %}
35         {% endblock %}
36         {%comment%}{% include "users/footer.html" %}{%endcomment%}
37         </div>
38 {% endblock %}<!-- end user.html -->