1 {% extends "base_content.html" %}
4 {% load extra_filters %}
6 {% block title %}{% spaceless %}{{ page_title }}{% endspaceless %}{% endblock %}
8 <style type="text/css">
9 .history-table td { padding: 5px; }
10 .user-stats-table { margin-left:50px; }
14 {% if request.user.is_superuser %}
15 <script type='text/javascript' src='{% media "/media/js/jquery.form.js" %}'></script>
17 <script type="text/javascript">
18 var viewUserID = {{view_user.id}};
20 {% ifequal view_user request.user%}
21 $("#nav_profile").attr('className',"on");
23 $("#nav_users").attr('className',"on");
27 $(document).ready( function(){
29 success: function(a,b){$('.admin #action_status').html($.i18n._('changes saved'));},
32 url: scriptUrl + $.i18n._('moderate-user/') + viewUserID + '/'
34 var form = $('.admin #moderate_user_form').ajaxForm(options);
35 var box = $('.admin input#id_is_approved').click(function(){
36 $('.admin #action_status').html($.i18n._('sending data...'));
37 form.ajaxSubmit(options);
45 <div id="mainbar-full">
46 {% include "users/info.html" %}
47 {% include "users/tabs.html" %}
48 {% block usercontent %}
50 {%comment%}{% include "users/footer.html" %}{%endcomment%}
52 {% endblock %}<!-- end user.html -->