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

12 commits

Auteur SHA1 Message Date
akuma06
2773fe200d Golint friendly (#747)
* Making the code Golint friendly

* No exported variables when not needed
* Same for functions
* Simplifying Templates variables with a form basic template variable
and a modelList basic template variable

* Adapted templates to new template variables

* use of .Models instead of model list
* use of .Form instead of modelform

* Small fix

* Small fix 2

Forgot $.Form

* Reverting templateDir as a var
2017-05-25 21:54:58 +02:00
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
d2eacfc692 Add torrent link to modpanel comment list 2017-05-14 17:41:55 +02:00
sfan5
3116274990 changes (#426)
* Hide change language footer when logged in

* Force people to select a report reason

* Don't ask for confirmation before deleting a torrent report

* Small cleanup of modpanel templates

* Fix modpanel comment list

* Fix missing "Delete" translation in modpanel

* Update German translation

* A few updates to the FAQ
2017-05-13 21:57:57 +10:00
kipukun
fc6f55f991 add structure to individual views as well 2017-05-10 19:00:09 -04:00
akuma06
0a1bd085ae Updated listing css 2017-05-10 18:47:37 +02:00
akuma06
0bf8088457 Mostly finished
Someone need to do torrent edit page
Can't do it :/
2017-05-10 17:37:49 +02:00
akuma06
46d65ba865 Fixing Mod Panel (WIP) 2017-05-10 15:08:38 +02:00
Your Name
8d9605def3 delete shit 2017-05-10 07:10:23 +00:00
Your Name
771527b518 everything 'works' now 2017-05-10 05:56:02 +00:00
kipukun
a432d397af add missing html files as to avoid build errors 2017-05-10 00:44:10 -04:00
akuma06
989945f09b Shitty Moderation page
No HTML done, could'nt test with nyaa.exe :/
1 page with overview of torrents, comments, users
1 page list comments
1 page list torrents
1 page list users
1 route delete torreny
1 route delete comment
Users can be deleted and edited by their route user_profile_edit (I
think)
2017-05-10 05:24:18 +02:00