From c5f4184854a21b375ab1496a3791f3b7f5b59ecd Mon Sep 17 00:00:00 2001 From: nishanth Date: Tue, 2 Mar 2010 22:50:17 +0530 Subject: created a starthere page. --- taskapp/views/user.py | 5 +++-- templates/user/browse_notifications.html | 3 ++- 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.learn more
{% else %} + Notifications for you: learn more
{% for notification in notifications %} {% if not notification.is_read %} {% endif %} -- cgit