pull/148/head
Aevann 2023-05-12 18:35:31 +03:00
parent 5f2286d0a2
commit c7a7d6a2b9
3 changed files with 5 additions and 5 deletions

View File

@ -97,7 +97,7 @@ MODACTION_TYPES = {
"color": 'bg-muted'
},
'disable_dm_media': {
"str": 'disabled DM images',
"str": 'disabled DM media',
"icon": 'fa-images',
"color": 'bg-muted'
},
@ -167,7 +167,7 @@ MODACTION_TYPES = {
"color": 'bg-success',
},
'enable_dm_media': {
"str": 'enabled DM images',
"str": 'enabled DM media',
"icon": 'fa-images',
"color": 'bg-success',
},

View File

@ -38,7 +38,7 @@
<h4>Content</h4>
<ul>
{% if v.admin_level >= PERMS['ENABLE_DM_MEDIA'] %}
<li><a href="/admin/dm_media">DM Images</a></li>
<li><a href="/admin/dm_media">DM Media</a></li>
{% endif %}
<li><a href="/log">Moderation Log</a></li>
{% if v.admin_level >= PERMS['POST_COMMENT_MODERATION'] %}

View File

@ -1,7 +1,7 @@
{% extends "default.html" %}
{% block pagetitle %}DM Images{% endblock %}
{% block pagetitle %}DM Media{% endblock %}
{% block content %}
<h2>DM Images</h2>
<h2>DM Media</h2>
<div class="overflow-x-auto">
<table class="table table-striped mb-5">
<thead class="bg-primary text-white">