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

15 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 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
sfan5 00bb382cdb Modpanel stuff (#401)
* Fix table on modpanel index

* Fix actions on torrent report list page

* Fix error reporting on modpanel templates

* Convenience functions for modpanel

Link to view page primarily and to edit page as a seperate link

* Missing confirm before torrent deletion

* Add edit button directly onto view page
2017-05-12 17:31:27 -05:00
sfan5 b2581f549b Display human-readable report reason in modpanel
Also fixes the "list all torrent reports" subpage
2017-05-12 20:43:38 +02:00
sfan5 2900278526 Fix modpanel index page
Users don't seem to be fetched yet, display their IDs instead
2017-05-12 12:20:01 +02:00
akuma06 e8774abf21 Updated search
When in a user page and clicked on more torrents, show a list navigable
of the user torrent
On that list, we can make advance search (categories, order, ...)

Moderation search reimplemented
Clicking on user (id) in the torrent list redirect to the list of the
user torrents
Ability to search within the user torrents
2017-05-11 03:52:42 +02:00
kipukun 0e71cd1fbb make mod index more structured 2017-05-10 19:00:09 -04:00
ayame-git f326d801c2 i don't even remember what i fix anymore' 2017-05-10 23:05:56 +03:00
ayame-git fcd0fec9a5 some pages not dispyaing corectly in mod page 2017-05-10 20:17:07 +03:00
akuma06 0a1bd085ae Updated listing css 2017-05-10 18:47:37 +02:00
akuma06 b00e64acc8 forgot li 2017-05-10 17:47:28 +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 032688f532 Fixed 2017-05-10 16:43:50 +02:00
akuma06 46d65ba865 Fixing Mod Panel (WIP) 2017-05-10 15:08:38 +02:00
kipukun a432d397af add missing html files as to avoid build errors 2017-05-10 00:44:10 -04:00