diff options
author | Jayaram Pai | 2014-04-19 17:55:25 +0530 |
---|---|---|
committer | Jayaram Pai | 2014-04-19 17:55:25 +0530 |
commit | 2fbf3ecf6cae63691380ec8cc9df2c4beff29dae (patch) | |
tree | 11212c19678c33f4546987079b05f037406ea9b1 /static/website/templates/notify.html | |
parent | 83063012ac3eac51983c83d3b1681595aa59eb1d (diff) | |
download | spoken-tutorial-forums-2fbf3ecf6cae63691380ec8cc9df2c4beff29dae.tar.gz spoken-tutorial-forums-2fbf3ecf6cae63691380ec8cc9df2c4beff29dae.tar.bz2 spoken-tutorial-forums-2fbf3ecf6cae63691380ec8cc9df2c4beff29dae.zip |
basic email and notification added, new frontpage interface
Diffstat (limited to 'static/website/templates/notify.html')
-rw-r--r-- | static/website/templates/notify.html | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/static/website/templates/notify.html b/static/website/templates/notify.html index af93eb5..a98d21a 100644 --- a/static/website/templates/notify.html +++ b/static/website/templates/notify.html @@ -1,6 +1,14 @@ <div class="notification"> - <a href=""><strong>{{ answer.user }}</strong> answers to <strong>{{ question.title }}</strong></a> / - {{ answer.body|safe }} + {% if notification.cid != 0 and notification.aid != 0 %} + <small> + <a href="">New <strong>Comment</strong> on "{{ question.title }}"</a> + </small> + {% elif notification.cid == 0 %} + <a href="">New <strong>Answer</strong> on "{{ question.title }}"</a> + {% endif %} + + + <!-- <a href=""><strong>{{ answer.user }}</strong> answers to <strong>{{ question.title }}</strong></a> --> <a class="remove" data-nid="{{ notification.id }}" href="#"> <span class="glyphicon glyphicon-remove-circle"></span> </a> |