Atvaark
cd844aec45
Replace 'en-us' literals with the default language
...
This consolidates the places where a default language has to be set.
- Removed import of the 'userService' package into the 'languages' util
package
This was required to prevent a cyclic import between the two packages.
- Added a 'UserRetriever' interface to read the language setting of users
inside the 'languages' package
2017-05-14 22:10:07 +02:00
sfan5
f1aa52e618
Cleanup usage of now removed HideAdvancedSearch
2017-05-14 13:05:18 +02:00
ElegantMonkey
9e10102c2d
Add translation code to handlers
2017-05-08 16:16:26 -03:00
akuma06
9bc75c86f3
Added logged badge + new User variable in each template variables
2017-05-08 01:46:30 +02:00
Jeff Becker
b599bb1ef2
fix up templates, get reading for Reload template on SIGHUP
2017-05-07 07:51:33 -04:00
bakape
8e15b211df
Revert quicktemplate search template
2017-05-07 02:20:13 +03:00
bakape
a16caa0556
Port _search.html to quicktemplate
2017-05-07 00:21:16 +03:00
bakape
2cb605a027
Don't reparse templates on every fucking request
2017-05-06 20:03:21 +03:00
akuma06
6b1196f12c
Merge branch 'master' of https://github.com/ewhal/nyaa
...
Conflicts:
main.go
Resolved conflicts with new merge
2017-05-05 22:30:56 +02:00
akuma06
9739610311
Separated Routes and handler from Main
...
Everything is in the router folder in different file
2017-05-05 16:39:15 +02:00