summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornishanth2010-03-02 22:50:17 +0530
committernishanth2010-03-02 22:50:17 +0530
commitc5f4184854a21b375ab1496a3791f3b7f5b59ecd (patch)
tree18b72a19a2f7f77e84731ed5b2eca88ece9140c5
parentb7ac601b8d316a816523f103be374cb84288d944 (diff)
downloadpytask-c5f4184854a21b375ab1496a3791f3b7f5b59ecd.tar.gz
pytask-c5f4184854a21b375ab1496a3791f3b7f5b59ecd.tar.bz2
pytask-c5f4184854a21b375ab1496a3791f3b7f5b59ecd.zip
created a starthere page.
-rw-r--r--taskapp/views/user.py5
-rw-r--r--templates/user/browse_notifications.html3
2 files changed, 5 insertions, 3 deletions
diff --git a/taskapp/views/user.py b/taskapp/views/user.py
index 35628d7..e12d9ec 100644
--- a/taskapp/views/user.py
+++ b/taskapp/views/user.py
@@ -17,8 +17,9 @@ from pytask.taskapp.utilities.notification import get_notification, create_notif
from pytask.taskapp.utilities.user import get_user
about = {
- "addmentors":"about/addmentors.html",
- "mentor":"about/mentor.html", ## - include role in different stages and merge with mentorrights
+ "addmentors": "about/addmentors.html",
+ "mentor": "about/mentor.html", ## - include role in different stages and merge with mentorrights
+ "starthere": "about/starthere.html",
## "claimtask":
## "edittask": - contains both about up and pub states
## "mentorrights":
diff --git a/templates/user/browse_notifications.html b/templates/user/browse_notifications.html
index 21b4ce0..210fad2 100644
--- a/templates/user/browse_notifications.html
+++ b/templates/user/browse_notifications.html
@@ -1,8 +1,9 @@
{% extends 'base.html' %}
{% block content %}
{% if not notifications %}
- You have no notifications.
+ You have no notifications.<sup><a href="/about/notification/" target="_blank">learn more</a></sup><br />
{% else %}
+ Notifications for you: <sup><a href="/about/notification/" target="_blank">learn more</a></sup><br />
{% for notification in notifications %}
<a href="/user/notifications/nid={{notification.id}}">
{% if not notification.is_read %} <b> {% endif %}