]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/user.html
OSQA-349
[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 {% load smart_if %}
7
8 {% block title %}{% spaceless %}{{ page_title }}{% endspaceless %}{% endblock %}
9 {% block forestyle%}
10     <style type="text/css">
11                 .history-table td { padding: 5px; }
12                 .user-stats-table { margin-left:50px; }
13         </style>
14 {% endblock %}
15 {% block forejs %}
16     {% if request.user.is_superuser or request.user == view_user %}
17         <script type="text/javascript">google.load("jquery", "1.4.2");google.load("jqueryui", "1.8.1");</script>
18         <script src="{% media "/media/js/osqa.user.js" %}" type="text/javascript"></script>
19
20         <link rel="stylesheet" href="http://jquery-ui.googlecode.com/svn/tags/latest/themes/base/jquery-ui.css" type="text/css" media="all" />
21         <link rel="stylesheet" href="http://static.jquery.com/ui/css/demo-docs-theme/ui.theme.css" type="text/css" media="all" />
22         <link rel="stylesheet" type="text/css" media="screen" href="{% media "/media/style/user.css" %}"/>
23     {% endif %}
24     <script type="text/javascript">
25         var viewUserID = {{view_user.id}};
26         $().ready(function(){
27             {% ifequal view_user request.user%}
28                 $("#nav_profile").attr('className',"on");
29             {% else %}
30                 $("#nav_users").attr('className',"on");
31             {% endifequal %}
32         });
33     </script>
34     {% block userjs %}
35     {% endblock %}
36 {% endblock %}
37 {% block content %}
38     <div id="mainbar-full">
39         {% include "users/info.html" %}
40         {% include "users/tabs.html" %}
41         {% block usercontent %}
42         {% endblock %}
43         {%comment%}{% include "users/footer.html" %}{%endcomment%}
44         </div>
45 {% endblock %}<!-- end user.html -->