diff --git a/files/routes/front.py b/files/routes/front.py index bf2e5cc16..094c3a7de 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -112,11 +112,10 @@ def notifications(v): Comment.body_html.notlike('

New site mention: 1): + if v and v.id not in (u.id,DAD_ID) and (u.patron or u.admin_level > 1): view = g.db.query(ViewerRelationship).filter_by(viewer_id=v.id, user_id=u.id).one_or_none() if view: view.last_view_utc = int(time.time()) diff --git a/files/templates/default.html b/files/templates/default.html index 6708adbad..167770395 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -231,7 +231,7 @@ /h/{{sub.name}} banner {% elif SITE_NAME == 'rDrama' %} {% set path = "assets/images/" + SITE_NAME + "/banners" %} - {% set image = "/" + path + "/" + listdir('files/' + path)|random() + '?v=23' %} + {% set image = "/" + path + "/" + listdir('files/' + path)|random() + '?v=24' %} {% if v and (v.shadowbanned or v.is_banned or v.agendaposter) %}