summaryrefslogtreecommitdiff
path: root/static/website/templates/notify.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/website/templates/notify.html')
-rw-r--r--static/website/templates/notify.html12
1 files changed, 10 insertions, 2 deletions
diff --git a/static/website/templates/notify.html b/static/website/templates/notify.html
index 7251f1b..a98d21a 100644
--- a/static/website/templates/notify.html
+++ b/static/website/templates/notify.html
@@ -1,6 +1,14 @@
<div class="notification">
- <a href=""><strong>{{ reply.user }}</strong> replies to <strong>{{ question.title }}</strong></a> /
- {{ reply.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>