mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Closes #13102: Establish initial translation support in templates
--------- Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
{% extends '500.html' %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block message %}
|
||||
<p>
|
||||
A file permission error was detected while processing this request. Common causes include the following:
|
||||
{% trans "A file permission error was detected while processing this request. Common causes include the following:" %}
|
||||
</p>
|
||||
<p>
|
||||
<i class="mdi mdi-alert"></i> <strong>Insufficient write permission to the media root</strong> - The configured
|
||||
media root is <code>{{ settings.MEDIA_ROOT }}</code>. Ensure that the user NetBox runs as has access to write files
|
||||
to all locations within this path.
|
||||
<i class="mdi mdi-alert"></i>
|
||||
{% blocktrans with media_root=settings.MEDIA_ROOT %}
|
||||
<strong>Insufficient write permission to the media root.</strong> The configured media root is
|
||||
<code>{{ media_root }}</code>. Ensure that the user NetBox runs as has access to write files to all locations
|
||||
within this path.
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
{% endblock message %}
|
||||
|
Reference in New Issue
Block a user