blob: 5931f31cbfcdf955496c7c7b9684fed5e18f2200 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{% extends "base_content.html" %}
<!-- user.html -->
{% load extra_tags %}
{% load extra_filters %}
{% load humanize %}
{% block title %}{% spaceless %}{{ page_title }}{% endspaceless %}{% endblock %}
{% block forestyle%}
<style type="text/css">
.history-table td { padding: 5px; }
.user-stats-table { margin-left:50px; }
</style>
{% endblock %}
{% block forejs %}
{% if request.user|can_moderate_users %}
<script type='text/javascript' src='{% media "/media/js/com.cnprog.admin.js" %}'></script>
<script type='text/javascript' src='{% media "/media/js/jquery.form.js" %}'></script>
{% endif %}
<script type="text/javascript">
var viewUserID = {{view_user.id}};
$().ready(function(){
{% ifequal view_user request.user%}
$("#nav_profile").attr('className',"on");
{% 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" %}
{% block usercontent %}
{% endblock %}
{%comment%}{% include "user_footer.html" %}{%endcomment%}
</div>
{% endblock %}<!-- end user.html -->
|