Přejmenování templatů v korekturovátku
This commit is contained in:
parent
73fb3a408b
commit
c609aa33b0
10 changed files with 17 additions and 17 deletions
korektury
|
@ -1,12 +1,14 @@
|
|||
{% include "korektury/korekturovatko/__edit_komentar.html" %}
|
||||
{% include "korektury/korekturovatko/moduly/schovani_korektur.html" %}
|
||||
|
||||
{% include "korektury/korekturovatko/__stranky.html" %}
|
||||
{% include "korektury/korekturovatko/moduly/edit_komentar.html" %}
|
||||
|
||||
{# {% for o in opravy %} {% include "korektury/korekturovatko/__oprava.html" %} {% endfor %} #}
|
||||
{% include "korektury/korekturovatko/__oprava.html" %}
|
||||
{% include "korektury/korekturovatko/__komentar.html" %}
|
||||
{% include "korektury/korekturovatko/moduly/stranky_pdfka.html" %}
|
||||
|
||||
{% include "korektury/korekturovatko/__dalsi_korektura.html" %}
|
||||
{# {% for o in opravy %} {% include "korektury/korekturovatko/oprava.html" %} {% endfor %} #}
|
||||
{% include "korektury/korekturovatko/moduly/oprava.html" %}
|
||||
{% include "korektury/korekturovatko/moduly/komentar.html" %}
|
||||
|
||||
{% include "korektury/korekturovatko/moduly/dalsi_korektura.html" %}
|
||||
|
||||
<script>
|
||||
/**
|
|
@ -26,11 +26,9 @@
|
|||
<a href="https://mam.mff.cuni.cz/wiki">wiki</a> |
|
||||
<hr />
|
||||
|
||||
{% include "korektury/korekturovatko/_schovani_korektur.html" %}
|
||||
|
||||
{% include "korektury/korekturovatko/_main.html" %}
|
||||
{% include "korektury/korekturovatko/hlavni_cast_korekturovatka.html" %}
|
||||
|
||||
{% include "korektury/korekturovatko/_zmena_stavu.html" %}
|
||||
{% include "korektury/korekturovatko/zmena_stavu_pdf.html" %}
|
||||
|
||||
<hr/>
|
||||
<p>
|
|
@ -10,7 +10,7 @@
|
|||
</button>
|
||||
|
||||
<button type='button' class='update-comment' title='Uprav komentář'>
|
||||
<img src='{% static "korektury/imgs/edit.png"%}' alt='edit'/>
|
||||
<img src='{% static "korektury/imgs/edit.png" %}' alt='edit'/>
|
||||
</button>
|
||||
</div>
|
||||
|
|
@ -16,20 +16,20 @@
|
|||
</div>
|
||||
|
||||
<div class='corr-body'>
|
||||
{# {% for k in o.komentare %} {% include "korektury/korekturovatko/__komentar.html" %} {% endfor %} #}
|
||||
{# {% for k in o.komentare %} {% include "korektury/korekturovatko/komentar.html" %} {% endfor %} #}
|
||||
</div>
|
||||
|
||||
<div class='corr-header'>
|
||||
<span class='float-right'>
|
||||
<span class='corr-buttons'>
|
||||
<button type='button' style='display: none' class='del' title='Smaž opravu'>
|
||||
<img src='{% static "korektury/imgs/delete.png"%}' alt='🗑️'/>
|
||||
<img src='{% static "korektury/imgs/delete.png" %}' alt='🗑️'/>
|
||||
</button>
|
||||
<button type='button' class='action' value='k_oprave' title='Označ jako neopravené'>
|
||||
<img src='{% static "korektury/imgs/undo.png"%}' alt='↪'/>
|
||||
<img src='{% static "korektury/imgs/undo.png" %}' alt='↪'/>
|
||||
</button>
|
||||
<button type='button' class='action' value='opraveno' title='Označ jako opravené'>
|
||||
<img src='{% static "korektury/imgs/check.png"%}' alt='✔️'/>
|
||||
<img src='{% static "korektury/imgs/check.png" %}' alt='✔️'/>
|
||||
</button>
|
||||
<button type='button' class='action' value='neni_chyba' title='Označ, že se nebude měnit'>
|
||||
<img src='{% static "korektury/imgs/cross.png" %}' alt='❌'/>
|
||||
|
@ -39,7 +39,7 @@
|
|||
</button>
|
||||
|
||||
<a href='{% url "admin:korektury_oprava_change" -1 %}' class='edit' title='Uprav korekturu jako takovou.' style="text-decoration: none;"> {# FIXME Udělat z toho tlačítko? #}
|
||||
<img src='{% static "korektury/imgs/edit.png"%}' alt='✏️' style="opacity: 0.5;"/> {# FIXME Odlišit jinak než pomocí opacity? #}
|
||||
<img src='{% static "korektury/imgs/edit.png" %}' alt='✏️' style="opacity: 0.5;"/> {# FIXME Odlišit jinak než pomocí opacity? #}
|
||||
</a>
|
||||
<button type='button' class='komentovat_disabled' title='Korekturu nelze komentovat, protože už je uzavřená' disabled=''>
|
||||
<img src='{% static "korektury/imgs/comment-gr.png" %}' alt='💭'/>
|
|
@ -49,7 +49,7 @@ class KorekturySeskupeneListView(KorekturyAktualniListView):
|
|||
class KorekturyView(generic.DetailView):
|
||||
model = KorekturovanePDF
|
||||
pk_url_kwarg = "pdf"
|
||||
template_name = 'korektury/korekturovatko/htmlstrana.html'
|
||||
template_name = 'korektury/korekturovatko/html_obal.html'
|
||||
|
||||
def get_context_data(self, **kwargs):
|
||||
context = super().get_context_data(**kwargs)
|
||||
|
|
Loading…
Reference in a new issue