Commit aecc98d3991707095f7e264ee7b91e762fa11ca2
Committed by
Macartur Sousa
1 parent
8a109151
Remove spaces on message link
Signed-off-by: Alexandre Barbosa <alexandreab@live.com> Signed-off-by: Lucas Kanashiro <kanashiro.duarte@gmail.com> Signed-off-by: Matheus Fernandes <matheus.souza.fernandes@gmail.com> Signed-off-by: Maxwell Almeida <llewxam150@gmail.com>
Showing
1 changed file
with
1 additions
and
6 deletions
Show diff stats
src/colab_spb/templates/discussion-message-preview.html
| ... | ... | @@ -33,12 +33,7 @@ |
| 33 | 33 | {% endif %} |
| 34 | 34 | |
| 35 | 35 | {% if result.title %} |
| 36 | - <a href="{{ result.url }} | |
| 37 | - {% if result.type == 'thread' and result.latest_message_pk %} | |
| 38 | - #msg-{{ result.latest_message_pk }} | |
| 39 | - {% elif result.type == 'thread' and result.pk %} | |
| 40 | - #msg-{{ result.pk }} | |
| 41 | - {% endif %}" | |
| 36 | + <a href="{{ result.url }}{% if result.type == 'thread' and result.latest_message_pk %}#msg-{{ result.latest_message_pk }}{% elif result.type == 'thread' and result.pk %}#msg-{{ result.pk }}{% endif %}" | |
| 42 | 37 | |
| 43 | 38 | {% if result.latest_description %} |
| 44 | 39 | title="{{ result.latest_description|escape|truncatechars:150 }}" | ... | ... |