Commit c3bd1534064ae85e67b9f3c7cc6c4a6936719a89
1 parent
c221c547
Exists in
colab_search
Reformat search preview templates
Signed-off-by: Matheus Fernandes <matheus.souza.fernandes@gmail.com> Signed-off-by: Lucas Kanashiro <kanashiro.duarte@gmail.com> Signed-off-by: Carlos Oliveira <carlospecter@gmail.com>
Showing
2 changed files
with
10 additions
and
6 deletions
Show diff stats
colab/accounts/templates/accounts/user_search_preview.html
1 | 1 | {% load i18n tz highlight gravatar date_format %} |
2 | 2 | |
3 | 3 | <div class="row"> |
4 | - <div class="col-md-1"> | |
5 | - {% gravatar result.email 50 %} | |
4 | + <div class="col-md-2"> | |
5 | + <a href="{% url 'user_profile' username=result.username %}">{% gravatar result.email 150 %}</a> | |
6 | 6 | </div> |
7 | - <div class="col-md-11"> | |
8 | - <strong>{{ result.name }}</strong><br> | |
7 | + <div class="col-md-10"> | |
8 | + <strong><a href="{% url 'user_profile' username=result.username %}">{{ result.name }}</a></strong><br> | |
9 | 9 | <strong>{% trans "Date joined" %}: {% date_format result.date_joined %}</strong><br> |
10 | 10 | {% trans "Registred in" %}: <strong>{% trans "User" %}</strong><br> |
11 | 11 | </div> |
12 | +</div> | |
13 | +<div class="row"> | |
14 | + <hr> | |
12 | 15 | </div> |
13 | 16 | \ No newline at end of file | ... | ... |
colab/super_archives/templates/superarchives/thread_search_preview.html
... | ... | @@ -2,7 +2,8 @@ |
2 | 2 | |
3 | 3 | <div class="row"> |
4 | 4 | {% datetime_format result.modified %} - <a href="{{result.modified_by_url}}">{{ result.modified_by }}</a><br> |
5 | - <h4> {{ result.title }}</h4> | |
6 | - | |
5 | + <h4><a href="{{result.url}}">{{ result.title }}</a></h4> | |
7 | 6 | {{ result.latest_description|truncatewords:"85" }} <br> |
7 | + {% trans "Registred in" %}: <strong>{% trans "Discussion" %}</strong> | |
8 | + <hr> | |
8 | 9 | </div> | ... | ... |