mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-18 21:09:42 -05:00
feat: add fily type and max user media uplod limits
This commit is contained in:
@@ -119,7 +119,7 @@
|
||||
|
||||
<br>
|
||||
|
||||
<a href='/contact'>Contact</a> the admin owners for more information.
|
||||
<a href='/contact'>Contact</a> portal owners for more information.
|
||||
|
||||
{% endif %}
|
||||
|
||||
|
||||
@@ -126,7 +126,19 @@
|
||||
<link href="{% static "css/media.css" %}" rel="stylesheet">
|
||||
{%endblock topimports %}
|
||||
|
||||
{% block content %}<div id="page-media"></div>{% endblock content %}
|
||||
{% block content %}
|
||||
{% if is_media_allowed_type %}
|
||||
|
||||
<div id="page-media"></div>
|
||||
{% else %}
|
||||
<div class="user-action-form-wrap">
|
||||
<div class="user-action-form-inner">
|
||||
This media type is not supported.
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% endblock content %}
|
||||
|
||||
{% block bottomimports %}
|
||||
<script src="{% static "js/media.js" %}?v={{ VERSION }}"></script>
|
||||
|
||||
Reference in New Issue
Block a user