Support view pdf for pdf statements
This commit is contained in:
parent
1c47d87b61
commit
a7f7aab444
1 changed files with 3 additions and 1 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue