Minor dashboard adjustments.

This commit is contained in:
Christopher Charbonneau Wells 2017-08-20 11:57:48 -04:00
parent 591f2fba52
commit e1379b0bf4
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@
<div class="collapse navbar-collapse" id="navbarsExampleDefault">
<ul class="navbar-nav mr-auto">
<li class="nav-item{% if request.path == '/' %} active{% endif %}">
<a class="nav-link" href="{% url 'index' %}">
<a class="nav-link" href="{% url 'dashboard' %}">
<i class="fa fa-dashboard" aria-hidden="true"></i> Dashboard
</a>
</li>

View File

@ -1,6 +1,6 @@
{% extends 'cards/diaperchange.html' %}
{% block header %}Diaper Change Types{% endblock %}
{% block header %}Diaper Changes{% endblock %}
{% block title %}
<strong>Past 5 Days</strong>

View File

@ -7,7 +7,7 @@ from . import views
urlpatterns = [
url(r'^$', views.DashboardRedirect.as_view(), name='dashboard'),
url(r'^dashboard/$', views.Dashboard.as_view(), name='dashboard'),
url(r'^dashboard/$', views.Dashboard.as_view(), name='dashboard-all'),
url(r'children/(?P<slug>[^/.]+)/dashboard/$',
views.ChildDashboard.as_view(), name='dashboard-child'),
]