|
|
@ -99,8 +99,9 @@ |
|
|
|
onmouseout='box_onmouseout(this,{% if o.status = 'opraveno' %}"done"{% elif o.status = 'neni_chyba' %}"wontfix"{%else%}""{% endif %})'> |
|
|
|
|
|
|
|
<div class='corr-header'> |
|
|
|
<div class='author' id='op{{o.id}}-autor'>{{o.autor}}</div> |
|
|
|
<div class='float-right'> |
|
|
|
<span class='author' id='op{{o.id}}-autor'>{{o.autor}}</span> |
|
|
|
<span class='float-right'> |
|
|
|
<span id='op{{o.id}}-buttons'> |
|
|
|
<!-- Existujici korektura !--> |
|
|
|
<form action='' onsubmit='save_scroll(this)' method='POST'> |
|
|
|
{% csrf_token %} |
|
|
@ -147,11 +148,12 @@ |
|
|
|
<button type='button' onclick='box_edit(this, "comment");' title='Komentovat'> |
|
|
|
<img src="{% static "korektury/imgs/comment.png" %}"/> |
|
|
|
</button> |
|
|
|
</span> |
|
|
|
<button type='button' onclick='toggle_visibility(this);' title='Skrýt/Zobrazit'> |
|
|
|
<img src="{% static "korektury/imgs/hide.png" %}"/> |
|
|
|
</button> |
|
|
|
|
|
|
|
</div> |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
<div class='corr-body' id='op{{o.id}}-body'> |
|
|
|
<div id='op{{o.id}}-text'>{{o.text}}</div> |
|
|
@ -159,9 +161,9 @@ |
|
|
|
{% for k in o.komentare %} |
|
|
|
<hr> |
|
|
|
<div class='comment' id='k{{k.id}}'> |
|
|
|
<div class='corr-header'> |
|
|
|
<span class='corr-header'> |
|
|
|
<div class='author'>{{k.autor}}</div> |
|
|
|
<div class="float-right"> |
|
|
|
<span class="float-right"> |
|
|
|
<!-- Komentar !--> |
|
|
|
<form action='' onsubmit='save_scroll(this)' method='POST'> |
|
|
|
{% csrf_token %} |
|
|
@ -178,7 +180,7 @@ |
|
|
|
<img src="{% static "korektury/imgs/edit.png"%}"/> |
|
|
|
</button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</span> |
|
|
|
<div id='kt{{k.id}}'>{{k.text}}</div> |
|
|
|
</div> |
|
|
|
{% endfor %} |
|
|
|