]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/user.html
deleting the test file
[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|can_moderate_users %}
15         <script type='text/javascript' src='{% media  "/media/js/com.cnprog.admin.js" %}'></script>
16         <script type='text/javascript' src='{% media  "/media/js/jquery.form.js" %}'></script>
17     {% endif %}
18     <script type="text/javascript">
19         var viewUserID = {{view_user.id}};
20         $().ready(function(){
21             {% ifequal view_user request.user%}
22                 $("#nav_profile").attr('className',"on");
23             {% else %}
24                 $("#nav_users").attr('className',"on");
25             {% endifequal %}
26         }); 
27     </script>
28     {% block userjs %}
29     {% endblock %}
30 {% endblock %}
31 {% block content %}
32     <div id="mainbar-full">
33         {% include "user_info.html" %}
34         {% include "user_tabs.html" %}
35         {% block usercontent %}
36         {% endblock %}
37         {%comment%}{% include "user_footer.html" %}{%endcomment%}
38         </div>
39 {% endblock %}<!-- end user.html -->