diff --git a/files/assets/css/main.css b/files/assets/css/main.css index dcd6425869..14a2971b6b 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -6246,4 +6246,8 @@ blockquote + blockquote, blockquote:last-child { #searchparams-dropdown { z-index: 100; +} +.contain { + -o-object-fit: contain; + object-fit: contain; } \ No newline at end of file diff --git a/files/routes/admin.py b/files/routes/admin.py index a5e866f0c4..ce4330da15 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -531,7 +531,7 @@ def badge_grant_post(v): try: badge_id = int(request.values.get("badge_id")) except: abort(400) - if badge_id in {16,17,94,95,96,97,98,109,137} and v.id != AEVANN_ID: + if badge_id in {16,17,21,22,23,24,25,26,27,94,95,96,97,98,109,137} and v.id != AEVANN_ID: abort(403) if user.has_badge(badge_id): diff --git a/files/templates/admin/badge_grant.html b/files/templates/admin/badge_grant.html index c46b91bfe3..166b148606 100644 --- a/files/templates/admin/badge_grant.html +++ b/files/templates/admin/badge_grant.html @@ -60,7 +60,11 @@ - + + + {{badge.name}} {{badge.description}} diff --git a/files/templates/admin/badge_remove.html b/files/templates/admin/badge_remove.html index 33c5a38ffb..02300c4039 100644 --- a/files/templates/admin/badge_remove.html +++ b/files/templates/admin/badge_remove.html @@ -60,7 +60,11 @@ - + + + {{badge.name}} {{badge.description}} diff --git a/files/templates/badges.html b/files/templates/badges.html index 7a901a304e..ab26047e01 100644 --- a/files/templates/badges.html +++ b/files/templates/badges.html @@ -27,7 +27,9 @@ {{loop.index}} {{badge.name}} - {{badge.name}} + + {{badge.name}} + {{badge.description}} {%- set ct = counts[badge.id] if badge.id in counts else (0, 0) %} {{ ct[0] }} diff --git a/files/templates/comments.html b/files/templates/comments.html index be108085c6..291328a2d9 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -945,10 +945,14 @@
{% endif %} -{% if SITE == 'rdrama.net' and not ajax and v and v.theme == 'midnight' and 'SamsungBrowser' not in g.agent %} +{% if SITE_NAME == 'rDrama' and not ajax and v and 'SamsungBrowser' not in g.agent %}