Refactor 3-col-content
This commit is contained in:
parent
326b3d5dd3
commit
a711fb9768
37 changed files with 453 additions and 384 deletions
|
@ -35,8 +35,4 @@
|
|||
{% include "actionbar/list.html" %}
|
||||
<br>
|
||||
{% include "comments/list.html" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block bodyend %}
|
||||
{% include "comments/math.html" %}
|
||||
{% endblock %}
|
||||
{% endblock %}
|
|
@ -24,7 +24,7 @@
|
|||
</div>
|
||||
{% if request.user.has_perm('judge.suggest_problem_changes') and feed_type == 'volunteer' %}
|
||||
<ul style="margin-bottom: 1em; margin-left: auto">
|
||||
<li><a href="{{url('admin:judge_volunteerproblemvote_changelist')}}">{{_('View your votes')}}</a></li>
|
||||
<li><a href="{{url('admin:judge_volunteerproblemvote_changelist')}}" target="_blank">{{_('View your votes')}}</a></li>
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% include "problem/feed/items.html" %}
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block three_col_js %}
|
||||
{% block js_media %}
|
||||
{% include "actionbar/media-js.html" %}
|
||||
{% block problem_list_js %}{% endblock %}
|
||||
<script>
|
||||
|
|
|
@ -467,8 +467,3 @@
|
|||
{% include "problem/related_problems.html" %}
|
||||
<iframe name="raw_problem" id="raw_problem"></iframe>
|
||||
{% endblock %}
|
||||
|
||||
{% block bodyend %}
|
||||
{{ super() }}
|
||||
{% include "comments/math.html" %}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue