Base templates
This commit is contained in:
parent
76ed93ff33
commit
5610ade1fe
19 changed files with 426 additions and 2 deletions
19
photo21/templates/403.html
Normal file
19
photo21/templates/403.html
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{% extends "base.html" %}
|
||||
{% comment %}
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
{% endcomment %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
<div class="card text-white bg-secondary">
|
||||
<h3 class="card-header text-center">
|
||||
{% trans "Permission denied" %}
|
||||
</h3>
|
||||
<div class="card-body">
|
||||
<p>{% blocktrans %}You don't have the right to perform this request.{% endblocktrans %}</p>
|
||||
{% if exception %}
|
||||
<p>{% trans "Exception message:" %} {{ exception }}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue