Support view pdf for pdf statements

This commit is contained in:
cuom1999 2022-08-31 10:58:47 -05:00
parent 1c47d87b61
commit a7f7aab444

View file

@ -152,7 +152,9 @@
<span class="spacer"></span>
{% if has_render %}
<a href="{{ url('problem_pdf', problem.code) }}" class="view-pdf">
<a href="{{ url('problem_pdf', problem.code) }}" class="view-pdf" target="_blank">
{% elif problem.pdf_description %}
<a href="{{ url('problem_pdf_description', problem.code) }}" class="view-pdf" target="_blank">
{% else %}
<a id="pdf_button" class="view-pdf" href='#'>
{% endif %}