Commit c9c788dcede13fc10f94d9f814c25650a0c4b529

Authored by Carlos Oliveira
1 parent 3214bd30

Fixed description for threads

Signed-off-by: Carlos Oliveira <carloshfoliveira@linuxmail.org>
Signed-off-by: Bruna Moreira <brunanayaramlima@gmail.com>
colab/super_archives/templates/search/thread_search_preview.html
... ... @@ -4,7 +4,7 @@
4 4 <div class="col-md-12">
5 5 <small>{% datetime_format result.modified %} - <a href="{{result.modified_by_url}}">{{ result.modified_by }}</a></small><br>
6 6 <h4><a href="{{result.url}}">{{ result.title }}</a></h4>
7   - {% with description as result.latest_description|truncatewords:"85" %}
  7 + {% with result.latest_description|truncatewords:"85" as description %}
8 8 {{description | default_if_none:"a"}}<br>
9 9 {% endwith %}
10 10 <small>{% trans "Registred in" %}: <strong>{% trans "Discussion" %}</strong></small>
... ...