Skip to content

Commit f961e0d

Browse files
committed
Show problem types after solving
1 parent 7bc721d commit f961e0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/problem/problem.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ <h2 style="display: inline-block">{{ title }}</h2>
299299
Problem types
300300
{% endtrans %}
301301
</div>
302-
<div style="display: none" class="toggled">
302+
<div {% if problem.id not in completed_problem_ids %}style="display: none"{% endif %} class="toggled">
303303
{{ problem.types_list|join(", ") }}
304304
{% if can_vote_problem_type %}
305305
<a data-featherlight="{{ url('problem_type_voting_ajax', problem.code) }}">

0 commit comments

Comments
 (0)