Add old volunteer link to UI

This commit is contained in:
cuom1999 2022-07-29 15:53:35 +07:00
parent 89b74e8ef8
commit c9f8fbe098
5 changed files with 397 additions and 145 deletions

View file

@ -17,6 +17,11 @@
</a>
{% endif %}
</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>
</ul>
{% endif %}
{% for problem in problems %}
<div class="blog-box">
<h3 class="problem-feed-name">