Commit 4f57b3693aa35b69aca488bfe37d9624d970dc46
1 parent
80ff4efa
Exists in
master
and in
79 other branches
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 }}" | ... | ... |