add: user ads
This commit is contained in:
parent
46b3e66cd4
commit
2cb7d08ddc
41 changed files with 1095 additions and 29 deletions
|
@ -1,5 +1,10 @@
|
|||
(div ("id" "toast_zone"))
|
||||
|
||||
; ads
|
||||
(script ("src" "/js/ads.js?v=tetratto-{{ random_cache_breaker }}"))
|
||||
(script
|
||||
(text "TetrattoAds.init();"))
|
||||
|
||||
; large text
|
||||
(text "{% if user and user.settings.large_text -%}")
|
||||
(style
|
||||
|
@ -76,6 +81,8 @@
|
|||
return;
|
||||
}
|
||||
|
||||
TetrattoAds.render_ads(\"{{ config.system_user }}\", \"\");
|
||||
|
||||
atto.disconnect_observers();
|
||||
atto.remove_false_options();
|
||||
atto.clean_date_codes();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue