summaryrefslogtreecommitdiff
path: root/static/website/templates/notify.html
blob: 2ea55c599461231c74e2ae756036e30f9fd697dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<div class="notification">
    
    {% if notification.cid != 0 and notification.aid != 0 %}
    <small>
        <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="{% url 'website:get_question' answer.question.id %}#answer{{ answer.id }}"+ >New <strong>Answer</strong> on <strong>"{{ question.title }}"</strong></a>
    {% endif %}


    <a class="remove" data-nid="{{ notification.id }}" href= "">
        <span class="glyphicon glyphicon-remove-circle"></span>
    </a>
</div> <!-- /.notification -->