Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Graphe des révisions

3 commits

Auteur SHA1 Message Date
Ramon Dantas
1968d2ae54 Move translation func to template variables (#652)
* Add T field to template variables

* Remove languages.SetTranslationFromRequest

* Add Tfunc on handlers

* Remove T and Ts from template_functions

* Update templates

Change the templates to use the local Tfunc, instead of the global one.
Also changed the signature of the fields on template_variables.go, so that
they return a template.HTML to avoid escaping problems.

* Remove unnecessary variable
2017-05-21 08:38:28 +10:00
sfan5
15ecf9827b Fix minor bug after completing modpanel reassing form 2017-05-14 18:17:18 +02:00
sfan5
c0be570e54 Torrent Reassign feature for modpanel 2017-05-13 17:29:21 +02:00