Merge branch 'korekturovatko_emaily'
This commit is contained in:
commit
7f44e77320
1 changed files with 5 additions and 1 deletions
|
@ -124,10 +124,14 @@ class KorekturyView(generic.TemplateView):
|
|||
'''
|
||||
|
||||
# parametry e-mailu
|
||||
odkaz = "https://mam.mff.cuni.cz:1443/korektury/{}/".format(oprava.pdf.pk)
|
||||
from_email = 'korekturovatko@mam.mff.cuni.cz'
|
||||
subject = u'Nová korektura od {}'.format(autor)
|
||||
text = u"Text komentáře:\n\n{}\n\n=== Konec textu komentáře ===\n\
|
||||
\nVaše korekturovátko\n".format(text)
|
||||
\nodkaz do korekturovátka: {}\n\
|
||||
\nVaše korekturovátko\n".format(text, odkaz)
|
||||
|
||||
print text
|
||||
|
||||
# Prijemci e-mailu
|
||||
emails = set()
|
||||
|
|
Loading…
Reference in a new issue