korektury | vylepseni predmetu e-mailu
This commit is contained in:
		
							parent
							
								
									f3a8d2a7e4
								
							
						
					
					
						commit
						a26c07d9e9
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		|  | @ -126,13 +126,12 @@ class KorekturyView(generic.TemplateView): | ||||||
|         # parametry e-mailu |         # parametry e-mailu | ||||||
|         odkaz = "https://mam.mff.cuni.cz:1443/korektury/{}/".format(oprava.pdf.pk) |         odkaz = "https://mam.mff.cuni.cz:1443/korektury/{}/".format(oprava.pdf.pk) | ||||||
|         from_email = 'korekturovatko@mam.mff.cuni.cz' |         from_email = 'korekturovatko@mam.mff.cuni.cz' | ||||||
|         subject = u'Nová korektura od {}'.format(autor) |         subject = u'Nová korektura od {} v {}'.format(autor, | ||||||
|  |                                                      oprava.pdf.nazev) | ||||||
|         text = u"Text komentáře:\n\n{}\n\n=== Konec textu komentáře ===\n\ |         text = u"Text komentáře:\n\n{}\n\n=== Konec textu komentáře ===\n\ | ||||||
|                 \nodkaz do korekturovátka: {}\n\ |                 \nodkaz do korekturovátka: {}\n\ | ||||||
|                 \nVaše korekturovátko\n".format(text, odkaz) |                 \nVaše korekturovátko\n".format(text, odkaz) | ||||||
| 
 | 
 | ||||||
|         print text |  | ||||||
| 
 |  | ||||||
|         # Prijemci e-mailu |         # Prijemci e-mailu | ||||||
|         emails = set() |         emails = set() | ||||||
|         email = oprava.autor.user.email |         email = oprava.autor.user.email | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Bc. Petr Pecha
						Bc. Petr Pecha