ali.xwx.moe/templates/403.html
2024-07-17 18:44:33 -05:00

28 lines
730 B
HTML

{% extends "base.html" %}
{% load i18n %}
{% load static %}
{% block breadcrumbs %}
<li><a href="{% url 'home' %}">{% trans "Permission Denied" %}</a></li>
{% endblock %}
{% block content %}
<div class="container">
<h2>{% trans "Permission Denied" %}</h2>
<p>
{% trans "Insufficient privileges to display this page." %}
</p>
{% if not user.is_authenticated %}
<a href="{% url 'login' %}?next={{ login_redirect_url|urlencode }}" class="btn btn-primary">{% trans "Sign in" %}</a>
{% endif %}
<a href="{% url 'home' %}" class="btn btn-primary">{% trans "Dashboard" %}</a>
<a href="{% url 'projects' %}" class="btn btn-primary">{% trans "Browse all projects" %}</a>
<img src="{% static "x_x/500.png" %}">
</div>
{% endblock %}