Browse Source

Nelze komentovat uzavrene korektury.

remotes/origin/prednasky
parent
commit
23ae79f61a
  1. BIN
      korektury/static/korektury/imgs/comment-gr.png
  2. 7
      korektury/templates/korektury/opraf.html

BIN
korektury/static/korektury/imgs/comment-gr.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

7
korektury/templates/korektury/opraf.html

@ -145,9 +145,16 @@
<img src="{% static "korektury/imgs/edit.png" %}"/>
</button>
{% endif %}
{% if o.status = 'opraveno' or o.status = 'neni_chyba' %}
<button type='button' title='Korekturu nelze komentovat, protože už je uzavřená'>
<img src="{% static "korektury/imgs/comment-gr.png" %}"/>
</button>
{% else %}
<button type='button' onclick='box_edit(this, "comment");' title='Komentovat'>
<img src="{% static "korektury/imgs/comment.png" %}"/>
</button>
{% endif %}
</span>
<button type='button' onclick='toggle_visibility(this);' title='Skrýt/Zobrazit'>
<img src="{% static "korektury/imgs/hide.png" %}"/>

Loading…
Cancel
Save