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/models
Miiiiaaooooo 25e6fe2942 Ads enabled settings, ads in FAQ, ads actually in code (#1493)
* Update base.jet.html

* Remove inline styling, put whole thing into a div instead of center to be able to move it at other places at will

* Move inline styling in there & some adjustements that will need further tweaking

* Add GetAdsEnabledFromRequest() function

* Ads Enabled global var

* Need to add global var in test file for it to work properly

* AdEnabled handler in settings

* Create AdsEnabled var for users

* Check if user wants to hide ads

* change var name

* change var name

* change var name

* change var name

* var name changes

* Add ad enabled settings & put each indiviidual setting into a span

* add |raw

* add translation strings

* add ads to faq

* Remove <br> and add faq link

* Fix travis

* Fix wrong condition check

* exclude aldColors & hideAds cookie from deletion

* remove useless things

* Fix template_test.go

* No idea why that part got removed

* Forgot }}

* lower padding for ad container
2017-09-04 21:48:47 +10:00
..
activities
comments
notifications
oauth_client
oauth_server
reports Tag Search + Tests + Search slight refactor [DONE] (#1342) 2017-08-22 11:48:10 +10:00
tag
torrents
users
activity.go
comment.go Added configor as a new library (#1126) 2017-07-10 22:11:05 +10:00
dumps.go
file.go
gorm.go
gorm_test.go
language.go This is a prelimenary work 2017-06-29 00:44:07 +02:00
notification.go
oauth_client.go
oauth_server.go
oldcomment.go
report.go
scrape.go
tag.go
tag_test.go
torrent.go
user.go