diff --git a/files/static/src/main.css b/files/static/src/main.css index a9cf04ab1a..bfd5f9b867 100644 --- a/files/static/src/main.css +++ b/files/static/src/main.css @@ -100,4 +100,14 @@ } .btn-red { @apply bg-gradient-to-t from-red-700 to-red-600 hover:from-red-600 hover:to-red-700 border-red-900 text-gray-100 focus:text-gray-200; -} \ No newline at end of file +} + +/* ----------------------- BADGES ----------------------- */ +.badge { + @apply px-1 py-0.5 text-xs text-shadow-light font-bold leading-normal rounded +} +.badge-red { + @apply bg-red-400 text-red-900 +} + + diff --git a/files/templates/comments.html b/files/templates/comments.html index c7e6fd3e68..47cd020290 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -243,31 +243,43 @@ {% endif %} {% if standalone and level==1 %} -
- {% if c.post and c.post.over_18 %}+18{% endif %} - - {% if c.post %} - {% if c.author_id==v.id and c.child_comments and is_notification_page%} - Comment {{'Replies' if (c.child_comments | length)>1 else 'Reply'}}: {{c.post.realtitle(v) | safe}} - {% elif c.post.author_id==v.id and c.level == 1 and is_notification_page%} - Post Reply: {{c.post.realtitle(v) | safe}} - {% elif is_notification_page and c.parent_submission in v.subscribed_idlist() %} - Subscribed Thread: {{c.post.realtitle(v) | safe}} - {% elif is_notification_page %} - Username Mention: {{c.post.realtitle(v) | safe}} - {% else %} - {{c.post.realtitle(v) | safe}} - {% endif %} - {% elif c.author_id==NOTIFICATIONS_ID or c.author_id==AUTOJANNY_ID %} - {{'SITE_NAME' | app_config}} Notification - {% else %} - {% if c.sentto == 0 %} - Sent to admins - {% else %} - Sent to @{{c.senttouser.username}} - {% endif %} + {% endif %} diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index 12cf30a230..e13b0fb787 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -156,7 +156,7 @@ {% endif %} {% if p.active_flags %} - {% endif %}