diff options
Diffstat (limited to 'static/website/templates/notify.html')
-rw-r--r-- | static/website/templates/notify.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/static/website/templates/notify.html b/static/website/templates/notify.html index a98d21a..2ea55c5 100644 --- a/static/website/templates/notify.html +++ b/static/website/templates/notify.html @@ -1,15 +1,17 @@ <div class="notification"> + {% if notification.cid != 0 and notification.aid != 0 %} <small> - <a href="">New <strong>Comment</strong> on "{{ question.title }}"</a> + <a href="{% url 'website:get_question' answer.question.id %}#answer{{ answer.id }}">New <strong>Comment</strong> on "{{ question.title }}"</a> </small> + {% elif notification.cid == 0 %} - <a href="">New <strong>Answer</strong> on "{{ question.title }}"</a> + + <a href="{% url 'website:get_question' answer.question.id %}#answer{{ answer.id }}"+ >New <strong>Answer</strong> on <strong>"{{ question.title }}"</strong></a> {% endif %} - <!-- <a href=""><strong>{{ answer.user }}</strong> answers to <strong>{{ question.title }}</strong></a> --> - <a class="remove" data-nid="{{ notification.id }}" href="#"> + <a class="remove" data-nid="{{ notification.id }}" href= ""> <span class="glyphicon glyphicon-remove-circle"></span> </a> </div> <!-- /.notification --> |