From d7d7a681f95ef35d9371da2429428144dcc7ef47 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 18 Feb 2023 23:07:37 +0200 Subject: [PATCH] add 2 additional links in /admin --- files/templates/admin/admin_home.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/files/templates/admin/admin_home.html b/files/templates/admin/admin_home.html index be12cc673..0b3b56b01 100644 --- a/files/templates/admin/admin_home.html +++ b/files/templates/admin/admin_home.html @@ -22,8 +22,14 @@
  • Add Snappy Quotes
  • {% endif %} {% if SITE_NAME == 'rDrama' %} -
  • Update Marseys
  • -
  • Update Hats
  • + {% if v.admin_level >= PERMS['MODERATE_PENDING_SUBMITTED_ASSETS'] %} +
  • Approve or Reject Marseys
  • +
  • Approve or Reject Hats
  • + {% endif %} + {% if v.admin_level >= PERMS['UPDATE_ASSETS'] %} +
  • Update Marseys
  • +
  • Update Hats
  • + {% endif %} {% endif %} {% endif %}