Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Ce dépôt a été archivé le 2022-05-07. Vous pouvez voir ses fichiers ou le cloner, mais pas ouvrir de ticket ou de demandes d'ajout, ni soumettre de changements.
nyaa-pantsu/router
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
..
api_handler.go Fix bug, remove literals (#629) 2017-05-20 09:10:16 +10:00
database_dump_handler.go Move translation func to template variables (#652) 2017-05-21 08:38:28 +10:00
faq_handler.go Move translation func to template variables (#652) 2017-05-21 08:38:28 +10:00
home_handler.go Move translation func to template variables (#652) 2017-05-21 08:38:28 +10:00
init.go fix up templates, get reading for Reload template on SIGHUP 2017-05-07 07:51:33 -04:00
language_handler.go Move translation func to template variables (#652) 2017-05-21 08:38:28 +10:00
modpanel.go Move translation func to template variables (#652) 2017-05-21 08:38:28 +10:00
not_found_handler.go Move translation func to template variables (#652) 2017-05-21 08:38:28 +10:00
router.go Fix router merge 2017-05-20 14:12:36 +02:00
rss_handler.go Fix bug, remove literals (#629) 2017-05-20 09:10:16 +10:00
search_handler.go Move translation func to template variables (#652) 2017-05-21 08:38:28 +10:00
template.go Fix bug, remove literals (#629) 2017-05-20 09:10:16 +10:00
template_functions.go Move translation func to template variables (#652) 2017-05-21 08:38:28 +10:00
template_test.go Add template and db tests (#291) 2017-05-10 18:15:36 -05:00
template_variables.go Move translation func to template variables (#652) 2017-05-21 08:38:28 +10:00
torrent_report_handler.go Cleanups and fixes (#623) 2017-05-19 12:55:59 +10:00
upload.go added ircs support 2017-05-20 18:40:20 +02:00
upload_handler.go Move translation func to template variables (#652) 2017-05-21 08:38:28 +10:00
user_handler.go Move translation func to template variables (#652) 2017-05-21 08:38:28 +10:00
view_torrent_handler.go Move translation func to template variables (#652) 2017-05-21 08:38:28 +10:00
wrap_handler.go Fix bug, remove literals (#629) 2017-05-20 09:10:16 +10:00