Commit 4f57b3693aa35b69aca488bfe37d9624d970dc46

Authored by Alexandre Barbosa
1 parent 80ff4efa

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>
src/colab_spb/templates/discussion-message-preview.html
@@ -33,12 +33,7 @@ @@ -33,12 +33,7 @@
33 {% endif %} 33 {% endif %}
34 34
35 {% if result.title %} 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 {% if result.latest_description %} 38 {% if result.latest_description %}
44 title="{{ result.latest_description|escape|truncatechars:150 }}" 39 title="{{ result.latest_description|escape|truncatechars:150 }}"