</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 -->