Move submission to user tab

This commit is contained in:
cuom1999 2024-04-12 00:08:25 -05:00
parent 2f64c87d56
commit 5147980d43
2 changed files with 1 additions and 6 deletions

View file

@ -118,12 +118,6 @@
</button>
</form>
{% endif %}
<br>
<div>
<a href="{{ url('all_user_submissions', user.username) }}" class="button small" style="width:145px">
{{ _('View submissions') }}
</a>
</div>
{% if request.user.is_authenticated %}
<br>
<button class="small btn-midnightblue" style="width:145px" id="message-button">

View file

@ -3,6 +3,7 @@
{% block tabs %}
{{ make_tab('about', 'fa-info-circle', url('user_page', user.user.username), _('About')) }}
{{ make_tab('problems', 'fa-puzzle-piece', url('user_problems', user.user.username), _('Problems')) }}
{{ make_tab('submissions', 'fa-code', url('all_user_submissions', user.username), _('Submissions')) }}
{% if request.user.is_superuser and user.user != request.user and not user.user.is_superuser %}
{{ make_tab('impersonate', 'fa-eye', url('impersonate-start', user.user.id), _('Impersonate')) }}
{% endif %}