Commit b7363d30692c28260e91fd032c9d3831d18e26cd
Committed by
Luiz Oliveira
1 parent
6509f5e9
Exists in
master
and in
4 other branches
Fixed search previews
Signed-off-by: Matheus Fernandes <matheus.souza.fernandes@gmail.com> Signed-off-by: Lucas Kanashiro <kanashiro.duarte@gmail.com>
Showing
2 changed files
with
11 additions
and
9 deletions
Show diff stats
colab/accounts/templates/search/user_search_preview.html
... | ... | @@ -7,9 +7,9 @@ |
7 | 7 | </a> |
8 | 8 | </div> |
9 | 9 | <div class="col-md-10"> |
10 | - <strong><a href="{% url 'user_profile' username=result.username %}">{{ result.name }}</a></strong><br> | |
11 | - <strong>{% trans "Date joined" %}: {% date_format result.date_joined %}</strong><br> | |
12 | - {% trans "Registred in" %}: <strong>{% trans "User" %}</strong><br> | |
10 | + <strong><a href="{% url 'user_profile' username=result.username %}"><h4>{{ result.name }}</h4></a></strong> | |
11 | + <small><strong>{% trans "Since" %}: {% date_format result.date_joined %}</strong></small><br> | |
12 | + <small>{% trans "Registered in" %}: <strong>{% trans "User" %}</strong></small><br> | |
13 | 13 | </div> |
14 | 14 | </div> |
15 | 15 | <div class="row"> | ... | ... |
colab/super_archives/templates/search/thread_search_preview.html
1 | 1 | {% load i18n tz highlight date_format %} |
2 | 2 | |
3 | 3 | <div class="row"> |
4 | - {% datetime_format result.modified %} - <a href="{{result.modified_by_url}}">{{ result.modified_by }}</a><br> | |
5 | - <h4><a href="{{result.url}}">{{ result.title }}</a></h4> | |
6 | - {% with description as result.latest_description|truncatewords:"85" %} | |
7 | - {{description | default_if_none:"a"}}<br> | |
8 | - {% endwith %} | |
9 | - {% trans "Registred in" %}: <strong>{% trans "Discussion" %}</strong> | |
4 | + <div class="col-md-12"> | |
5 | + <small>{% datetime_format result.modified %} - <a href="{{result.modified_by_url}}">{{ result.modified_by }}</a></small><br> | |
6 | + <h4><a href="{{result.url}}">{{ result.title }}</a></h4> | |
7 | + {% with description as result.latest_description|truncatewords:"85" %} | |
8 | + {{description | default_if_none:"a"}}<br> | |
9 | + {% endwith %} | |
10 | + <small>{% trans "Registred in" %}: <strong>{% trans "Discussion" %}</strong></small> | |
11 | + </div> | |
10 | 12 | <hr> |
11 | 13 | </div> | ... | ... |