Skip to content

Commit

Permalink
fix(dash): misplaced endif in portal.html
Browse files Browse the repository at this point in the history
  • Loading branch information
vEnhance committed Oct 4, 2022
1 parent 495255a commit 987cf94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/templates/dashboard/portal.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,10 @@ <h1>Welcome back</h1>
{% endif %}
</div>
{% endwith %}
{% endif %}

<div class="text-center">
<a href="{% url 'stats' student.id %}" style="margin: 0 auto; width: 120px;" class="btn btn-primary text-white" role="button">View stats</a>
{% endif %}
{% if student.enabled and semester.active %}
<a href="{% url 'submit-pset' student.id %}" style="margin: 0 auto; width: 120px;" class="btn btn-success text-white" role="button">Submit unit</a>
{% endif %}
Expand Down

0 comments on commit 987cf94

Please sign in to comment.