Browse Source

Větší mezery mezi jednotlivými korekturami ve vláknu v e-mailu

export_seznamu_prednasek
Jonas Havelka 3 years ago
parent
commit
7f768ed197
  1. 2
      korektury/views.py

2
korektury/views.py

@ -166,7 +166,7 @@ class KorekturyView(generic.TemplateView):
texty = [(oprava.autor.osoba.plne_jmeno(),oprava.text)]
for kom in Komentar.objects.filter(oprava=oprava):
texty.append((kom.autor.osoba.plne_jmeno(),kom.text))
optext = "\n".join([": ".join(t) for t in texty])
optext = "\n\n\n".join([": ".join(t) for t in texty])
text = u"Text komentáře:\n\n{}\n\n=== Konec textu komentáře ===\n\
\nodkaz do korekturovátka: {}\n\
\nVaše korekturovátko\n".format(optext, odkaz)

Loading…
Cancel
Save