Coverage for templates/error.html: 0%

13 statements  

« prev     ^ index     » next       coverage.py v7.6.9, created at 2024-12-26 00:11 +0000

1{% extends 'base.html' %} 

2{% load i18n %} 

3{% load static %} 

4{% load bootstrap4 %} 

5  

6{% block title %}Libravatar: {% trans 'Error!' %}{% endblock title %} 

7  

8{% block content %} 

9<h1 class="error">{% trans 'Error!' %}</h1> 

10  

11<p>{% block errormessage %} 

12{% trans 'Libravatar has encountered an error.' %} 

13{% if errormessage %} 

14<br/> 

15<br/> 

16{% blocktrans %}{{ errormessage }}{% endblocktrans %} 

17{% endif %} 

18{% endblock errormessage %}</p> 

19  

20<div style="height:40px"></div> 

21  

22{% endblock content %} 

23  

24{% block backlink %} 

25{% if user.is_authenticated %} 

26<p><a href="{% url 'profile' %}">{% trans 'Back to your profile' %}</a></p> 

27{% endif %} 

28  

29{% endblock %}