2023-01-27 23:11:10 +00:00
|
|
|
{% extends "problem/list-base.html" %}
|
|
|
|
{% block left_sidebar %}
|
2023-02-07 23:22:37 +00:00
|
|
|
{% include "problem/left-sidebar.html" %}
|
2023-01-27 23:11:10 +00:00
|
|
|
{% endblock %}
|
2023-02-20 23:15:13 +00:00
|
|
|
{% block problem_list_js %}
|
|
|
|
{% include "feed/feed_js.html" %}
|
|
|
|
{% endblock %}
|
2023-01-27 23:11:10 +00:00
|
|
|
|
|
|
|
{% block middle_content %}
|
2024-06-19 03:11:36 +00:00
|
|
|
<div class="tabs tabs-no-flex">
|
2023-03-03 00:43:15 +00:00
|
|
|
<ul>
|
|
|
|
<li class="{{'active' if feed_type=='for_you'}}">
|
|
|
|
<a href="{{url('problem_feed')}}">{{_('FOR YOU')}}</a>
|
|
|
|
</li>
|
|
|
|
<li class="{{'active' if feed_type=='new'}}">
|
|
|
|
<a href="{{url('problem_feed_new')}}">{{_('NEW')}}</a>
|
|
|
|
</li>
|
|
|
|
{% if request.user.has_perm('judge.suggest_problem_changes') %}
|
|
|
|
<li class="{{'active' if feed_type=='volunteer'}}">
|
|
|
|
<a href="{{url('problem_feed_volunteer')}}">{{_('VOLUNTEER')}}</a>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
2023-02-05 13:41:18 +00:00
|
|
|
</div>
|
2023-02-07 23:22:37 +00:00
|
|
|
{% 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>
|
|
|
|
</ul>
|
2023-02-05 13:41:18 +00:00
|
|
|
{% endif %}
|
2024-04-13 22:02:54 +00:00
|
|
|
{% include "problem/feed/items.html" %}
|
2022-05-28 04:28:22 +00:00
|
|
|
{% endblock %}
|