diff options
author | nishanth | 2010-02-24 15:10:03 +0530 |
---|---|---|
committer | nishanth | 2010-02-24 15:10:03 +0530 |
commit | e5d2242006b9ebba504785f37049d8e07bb4c580 (patch) | |
tree | 28763f222385a8bea9ebd231ca035e0be9658cd8 | |
parent | 15920b70d0753433a4faa058af1ac3797e7dd5f1 (diff) | |
download | pytask-e5d2242006b9ebba504785f37049d8e07bb4c580.tar.gz pytask-e5d2242006b9ebba504785f37049d8e07bb4c580.tar.bz2 pytask-e5d2242006b9ebba504785f37049d8e07bb4c580.zip |
removed unwanted links.
-rw-r--r-- | templates/base.html | 1 | ||||
-rw-r--r-- | templates/index.html | 6 | ||||
-rw-r--r-- | templates/task/claim.html | 3 | ||||
-rw-r--r-- | templates/task/view.html | 4 |
4 files changed, 6 insertions, 8 deletions
diff --git a/templates/base.html b/templates/base.html index 3e383f0..c6a92c7 100644 --- a/templates/base.html +++ b/templates/base.html @@ -134,6 +134,7 @@ <li><a href="/user/notifications/" title="notifications">notifications</a></li> <li><a href="/user/requests/" title="Requests">requests</a></li> <br> + <li><a href="/user/view/uid={{user.id}}">my profile</a></li> <li><a href="/accounts/logout/">logout</a></li> {% else %} <li><a href="/accounts/login/" title="login">login</a></li> diff --git a/templates/index.html b/templates/index.html index 96846fd..82840a1 100644 --- a/templates/index.html +++ b/templates/index.html @@ -9,11 +9,7 @@ <a href="/task/view/tid={{ task.id }}">{{ task.title }}</a><br /> {% endfor %} {% else %} - Welcome {{ user.username }} <br /> - <a href="/accounts/logout/">logout</a><br /> - <br /> - <a href="/task/browse/">Tasks</a><br /> - <a href="/user/view/uid={{user.id}}">My Profile</a><br /> + Logged in as {{ user.username }} <br /> {% endif %} {% if can_create_task %} <a href="/task/create/">Create a task</a><br /> diff --git a/templates/task/claim.html b/templates/task/claim.html index 26eceef..c656146 100644 --- a/templates/task/claim.html +++ b/templates/task/claim.html @@ -8,7 +8,8 @@ {{claim.message}}<br /> {% endfor %} {% else %} - There are no claims for task <a href="/task/view/tid={{task.id}}">{{task.title}}</a> yet. + There are no claims for this task yet.<br /> + <a href="/task/view/tid={{task.id}}">Click here</a> to return to the task. {% endif %} {% if task_claimed and is_mentor %} <a href="/task/assign/tid={{task.id}}">Assign task</a> diff --git a/templates/task/view.html b/templates/task/view.html index 18c04c2..9f01594 100644 --- a/templates/task/view.html +++ b/templates/task/view.html @@ -4,7 +4,7 @@ {% endblock %} {% block content %} {% if task_viewable %} - <a href="/task/browse/">Browse tasks</a> + <a href="/task/edit/tid={{task.id}}">Edit task</a> <h3>{{ task.title }}</h3><br /> <!-- we have to write our own datetime.strftime filter and use in the next line --> created by <a href="/user/view/uid={{ task.created_by.id }}">{{ task.created_by.username }}</a> on {{ task.creation_datetime.ctime }}<br /> @@ -13,7 +13,7 @@ <a href="/user/view/uid={{mentor.id}}">{{mentor.username}}|</a> {% endfor %} {% if can_mod_mentors %} - <br /><a href="/task/addmentor/tid={{task.id}}">Add another Mentor to this task</a><br /> + <a href="/task/addmentor/tid={{task.id}}">Add another Mentor to this task</a><br /> edit task goes here and it should contain all those add subs and add deps depending on availability<br /> {% endif %} |