From cfd97d7b2ffbd3c47c853e33066b58e16a54a7a9 Mon Sep 17 00:00:00 2001 From: Matheus Fernandes Date: Tue, 27 Oct 2015 16:39:50 -0200 Subject: [PATCH] Reformat search preview templates --- colab/accounts/templates/accounts/user_search_preview.html | 11 +++++++---- colab/super_archives/templates/superarchives/thread_search_preview.html | 5 +++-- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/colab/accounts/templates/accounts/user_search_preview.html b/colab/accounts/templates/accounts/user_search_preview.html index 213ca18..1db1310 100644 --- a/colab/accounts/templates/accounts/user_search_preview.html +++ b/colab/accounts/templates/accounts/user_search_preview.html @@ -1,12 +1,15 @@ {% load i18n tz highlight gravatar date_format %}
-
- {% gravatar result.email 50 %} + -
- {{ result.name }}
+
+ {{ result.name }}
{% trans "Date joined" %}: {% date_format result.date_joined %}
{% trans "Registred in" %}: {% trans "User" %}
+
+
+
\ No newline at end of file diff --git a/colab/super_archives/templates/superarchives/thread_search_preview.html b/colab/super_archives/templates/superarchives/thread_search_preview.html index 54571a5..9f6d3c1 100644 --- a/colab/super_archives/templates/superarchives/thread_search_preview.html +++ b/colab/super_archives/templates/superarchives/thread_search_preview.html @@ -2,7 +2,8 @@
{% datetime_format result.modified %} - {{ result.modified_by }}
-

{{ result.title }}

- +

{{ result.title }}

{{ result.latest_description|truncatewords:"85" }}
+ {% trans "Registred in" %}: {% trans "Discussion" %} +
-- libgit2 0.21.2