mirror of https://github.com/snachodog/mybuddy.git
Add return link to error base template
This commit is contained in:
parent
ff45ab46a3
commit
c2afa80845
|
@ -7,7 +7,7 @@
|
||||||
<h1>404 {% trans "Page Not Found" %}</h1>
|
<h1>404 {% trans "Page Not Found" %}</h1>
|
||||||
<div>
|
<div>
|
||||||
{% blocktrans trimmed with request_path=request_path %}
|
{% blocktrans trimmed with request_path=request_path %}
|
||||||
The path <samp>{{ request_path }}</samp> does not exist.
|
The path <code>{{ request_path }}</code> does not exist.
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
|
@ -8,8 +8,11 @@
|
||||||
<div class="row justify-content-md-center">
|
<div class="row justify-content-md-center">
|
||||||
<div class="col-lg-12 mb-4">
|
<div class="col-lg-12 mb-4">
|
||||||
<div class="d-sm-flex">
|
<div class="d-sm-flex">
|
||||||
<img class="d-inline-block align-self-center mr-2 text-center" src="{% static "babybuddy/logo/logo-sad.png" %}" width="65" height="65">
|
<img class="d-inline-block align-self-top mr-2 mt-2 text-center" src="{% static "babybuddy/logo/logo-sad.png" %}" width="65" height="65">
|
||||||
<div class="p-2 flex-grow-1">{% block content %}{% endblock %}</div>
|
<div class="p-2 flex-grow-1">
|
||||||
|
{% block content %}{% endblock %}
|
||||||
|
<a href="{% url "babybuddy:root-router" %}" class="btn btn-outline-primary mt-3">{% trans "Return to Baby Buddy" %}</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue