summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pytask/templates/base.html4
-rw-r--r--pytask/templates/index.html6
-rw-r--r--pytask/templates/registration/login.html1
3 files changed, 6 insertions, 5 deletions
diff --git a/pytask/templates/base.html b/pytask/templates/base.html
index 94d024a..5295cca 100644
--- a/pytask/templates/base.html
+++ b/pytask/templates/base.html
@@ -14,10 +14,11 @@
<div id="left">
<ul id="nav">
<li><a href="/" title="home">home</a></li>
- {% if user.is_authenticated %}
+ <br />
<li><a href="/task/browse/" title="tasks">tasks</a></li>
<li><a href="/textbook/" title="textbook">textbooks</a></li>
<br />
+ {% if user.is_authenticated %}
<li><a href="/profile/notf/browse/" title="notifications">
{{ user|notf_dsp }}
</a></li>
@@ -25,6 +26,7 @@
<li><a href="/profile/view">profile</a></li>
<li><a href="/accounts/logout/">logout</a></li>
{% else %}
+ <li><a href="/accounts/register/" title="register">register</a></li>
<li><a href="/accounts/login/" title="login">login</a></li>
{% endif %}
</ul>
diff --git a/pytask/templates/index.html b/pytask/templates/index.html
index d3cbbf6..43a599d 100644
--- a/pytask/templates/index.html
+++ b/pytask/templates/index.html
@@ -1,9 +1,9 @@
{% extends 'base.html' %}
{% block content %}
{% if not user %}
- Welcome Guest<br>
- <a href="/accounts/register/">Register</a>
- <a href="/accounts/login/">Login</a><br /><br />
+ Checkout the tasks on the left panel for tasks that have been recently created.<br />
+ Checkout the textbooks for textbooks that have been added to the project.<br />
+
{% else %}
Logged in as {{ user.username }} <br /><br />
{% endif %}
diff --git a/pytask/templates/registration/login.html b/pytask/templates/registration/login.html
index bb007f8..c5ab83b 100644
--- a/pytask/templates/registration/login.html
+++ b/pytask/templates/registration/login.html
@@ -5,6 +5,5 @@
{{ form.as_p }}
<input type="submit" value="Login" />
</form>
-<a href="/accounts/register">New User Sign up</a>
<a href="/accounts/password/reset">Forgot password?</a>
{% endblock %}