mirror of https://github.com/snachodog/mybuddy.git
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
db703c07ec
|
@ -143,11 +143,11 @@ AUTHENTICATION_BACKENDS = [
|
|||
'django.contrib.auth.backends.ModelBackend',
|
||||
]
|
||||
|
||||
LOGIN_REDIRECT_URL = '/'
|
||||
LOGIN_REDIRECT_URL = ''
|
||||
|
||||
LOGIN_URL = '/login/'
|
||||
LOGIN_URL = 'login/'
|
||||
|
||||
LOGOUT_REDIRECT_URL = '/login/'
|
||||
LOGOUT_REDIRECT_URL = 'login/'
|
||||
|
||||
|
||||
# Timezone
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
{% block breadcrumb_nav %}
|
||||
<nav aria-label="breadcrumb" role="navigation">
|
||||
<ol class="breadcrumb">
|
||||
<li class="breadcrumb-item"><a href="/">{% trans "Home" %}</a></li>
|
||||
<li class="breadcrumb-item"><a href={% url "babybuddy:root-router" %}>{% trans "Home" %}</a></li>
|
||||
{% block breadcrumbs %}{% endblock %}
|
||||
</ol>
|
||||
</nav>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
{% block nav %}
|
||||
<nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
|
||||
<a class="navbar-brand mr-2" href="/">
|
||||
<a class="navbar-brand mr-2" href={% url "babybuddy:root-router" %}>
|
||||
<img src="{% static "babybuddy/logo/icon-brand.png" %}" width="30" height="30" class="d-inline-block align-top" alt="">
|
||||
<span class="d-none d-lg-inline-block">
|
||||
<span class="text-primary">Baby</span> Buddy
|
||||
|
|
|
@ -19,6 +19,6 @@
|
|||
{% endblocktrans %}
|
||||
</h1>
|
||||
<input type="submit" value="{% trans "Delete" %}" class="btn btn-danger" />
|
||||
<a href="/" class="btn btn-default">{% trans "Cancel" %}</a>
|
||||
<a href={% url "babybuddy:root-router" %} class="btn btn-default">{% trans "Cancel" %}</a>
|
||||
</form>
|
||||
{% endblock %}
|
Loading…
Reference in New Issue