Browse Source

edited nav-bar

newsletter
Esther Kleinhenz 6 years ago
parent
commit
0c34f508b8
1 changed files with 2 additions and 4 deletions
  1. 2
    4
      application/templates/base.html

+ 2
- 4
application/templates/base.html View File

@@ -8,8 +8,6 @@
<title> {% block title %}Seitenname{% endblock %}</title>
<link href="{% static 'css/application.css' %}" rel="stylesheet">
<link href="{% static 'bootstrap/css/bootstrap.css' %}" rel="stylesheet">
<link href="{% static 'css/signin.css' %}" rel="stylesheet">

</head>

<body>
@@ -39,7 +37,7 @@
</li>
{% else %}
<li class="nav-item">
<a class="nav-link" href="{% url 'student_page' %}">My Page</a>
<a class="nav-link" href="{% url 'student_page' %}">{{user.get_username}}'s Dashboard</a>
</li>
{% endif %}
</ul>
@@ -47,7 +45,7 @@
<ul class="nav navbar-nav navbar-right">
{% if user.is_authenticated %}
<li class="nav-item">
<a class="nav-link disabled" href="#">{{ user.first_name }} {{ user.last_name }}</a>
<a class="nav-link disabled" href="#"></a>
</li>
<li class="nav-item">
<a class="nav-link" href="{% url 'logout' %}?next={{ LOGOUT_REDIRECT_URL }}">Abmelden</a>

Loading…
Cancel
Save