From b7363d30692c28260e91fd032c9d3831d18e26cd Mon Sep 17 00:00:00 2001 From: Matheus Fernandes Date: Tue, 3 Nov 2015 17:29:15 -0200 Subject: [PATCH] Fixed search previews --- colab/accounts/templates/search/user_search_preview.html | 6 +++--- colab/super_archives/templates/search/thread_search_preview.html | 14 ++++++++------ 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/colab/accounts/templates/search/user_search_preview.html b/colab/accounts/templates/search/user_search_preview.html index f84fc32..19e6a19 100644 --- a/colab/accounts/templates/search/user_search_preview.html +++ b/colab/accounts/templates/search/user_search_preview.html @@ -7,9 +7,9 @@
- {{ result.name }}
- {% trans "Date joined" %}: {% date_format result.date_joined %}
- {% trans "Registred in" %}: {% trans "User" %}
+

{{ result.name }}

+ {% trans "Since" %}: {% date_format result.date_joined %}
+ {% trans "Registered in" %}: {% trans "User" %}
diff --git a/colab/super_archives/templates/search/thread_search_preview.html b/colab/super_archives/templates/search/thread_search_preview.html index 0c96e43..7a15ba1 100644 --- a/colab/super_archives/templates/search/thread_search_preview.html +++ b/colab/super_archives/templates/search/thread_search_preview.html @@ -1,11 +1,13 @@ {% load i18n tz highlight date_format %}
- {% datetime_format result.modified %} - {{ result.modified_by }}
-

{{ result.title }}

- {% with description as result.latest_description|truncatewords:"85" %} - {{description | default_if_none:"a"}}
- {% endwith %} - {% trans "Registred in" %}: {% trans "Discussion" %} +
+ {% datetime_format result.modified %} - {{ result.modified_by }}
+

{{ result.title }}

+ {% with description as result.latest_description|truncatewords:"85" %} + {{description | default_if_none:"a"}}
+ {% endwith %} + {% trans "Registred in" %}: {% trans "Discussion" %} +

-- libgit2 0.21.2