Commit 15221701fa6702030c4de30589bca4bc51583e07

Authored by Luan
1 parent 62d301cb

Removing link from message reply

src/super_archives/templates/superarchives/includes/message.html
... ... @@ -13,11 +13,13 @@
13 13 {% if userprofile.get_absolute_url %}
14 14 </a>
15 15 {% endif %}
16   - <div class="hidden-xs hidden-sm div-message-link" title="{% trans 'Link to this message' %}">
17   - <button class="btn btn-default message-link" data-toggle="popover" data-content="<input type='text' value='{{ request.get_host }}{{ request.path }}#msg-{{ email.id }}' class='form-control' />" data-title="{% trans 'Link to this message' %}" data-html="true" data-container="body">
18   - <span class="glyphicon glyphicon-link"></span>
19   - </button>
20   - </div>
  16 + {% if email.id %}
  17 + <div class="hidden-xs hidden-sm div-message-link" title="{% trans 'Link to this message' %}">
  18 + <button class="btn btn-default message-link" data-toggle="popover" data-content="<input type='text' value='{{ request.get_host }}{{ request.path }}#msg-{{ email.id }}' class='form-control' />" data-title="{% trans 'Link to this message' %}" data-html="true" data-container="body">
  19 + <span class="glyphicon glyphicon-link"></span>
  20 + </button>
  21 + </div>
  22 + {% endif %}
21 23 </div>
22 24  
23 25 {% if not reply %}
... ...