Skip to content

Commit ee7d7be

Browse files
author
Gustavo Fonseca
committed
Corrige bug que causava erro na resolução de URLs ao desligar o pré-visualizador de HTML
1 parent 51ac87c commit ee7d7be

File tree

1 file changed

+2
-0
lines changed
  • scielomanager/validator/templates/validator

1 file changed

+2
-0
lines changed

scielomanager/validator/templates/validator/base.html

+2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222
<div class="nav-collapse collapse">
2323
<ul class="nav">
2424
<li class="{% active '/stylechecker/$' %}"><a href="{% url validator.packtools.stylechecker %}">Style Checker</a></li>
25+
{% if enable_html_previewer %}
2526
<li class="{% active '/preview/html/$' %}"><a href="{% url validator.packtools.preview_html %}">HTML Previewer</a></li>
27+
{% endif %}
2628
</ul>
2729
</div><!--/.nav-collapse -->
2830
</div>

0 commit comments

Comments
 (0)