Commit f64d6a9d authored by David Haynes's avatar David Haynes 🙆
Browse files

Something happens if you log in

- navbar figures out you're logged in (lets you log out now)
- text magically does too
- and that's all the perks you get for logging in
parent 8ef78dfd
......@@ -24,7 +24,9 @@ Assistr - UTA Application Hub
Once they have submitted their application, professors have the opportunity to
review applications that fit their criteria to make their UTA selections.
<br></br>
<a href="">Sign in</a> to view the list of UTA applications.
{% if not user.is_authenticated %}
<a href="">Sign in</a> to view the list of UTA applications.
{% endif %}
</p>
<h3><a href=""><i class="fa fa-arrow-circle-right"> Professors</i></a></h3>
......@@ -34,7 +36,9 @@ Assistr - UTA Application Hub
<br />
They may then view the applications of each prospective UTA and make their selections.
<br></br>
<a href="">Sign in</a> and get verified to view prospective UTAs for your courses.
{% if not user.is_authenticated %}
<a href="">Sign in</a> and get verified to view prospective UTAs for your courses.
{% endif %}
</p>
{% endblock %}
......@@ -9,7 +9,11 @@
</ul>
<ul class="nav navbar-nav navbar-right" style="margin-right:5%;">
<li><a href="">About</a></li>
<li><a href="">Login</a></li>
{% if user.is_authenticated %}
<li><a href="{% url 'logout' %}">Log Out</a></li>
{% else %}
<li><a href="{% url 'login' %}">Log In</a></li>
{% endif %}
</ul>
</div>
</div>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment