Commit 6c96946ef57a5234683efcb3a39fafa93d4a91db
1 parent
7e25d3e5
Exists in
search_block
Added links to user profile in search preview
Signed-off-by: Matheus Fernandes <matheus.souza.fernandes@gmail.com> Signed-off-by: Lucas Kanashiro <kanashiro.duarte@gmail.com
Showing
1 changed file
with
4 additions
and
2 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-2"> | |
| 5 | - <a href="{% url 'user_profile' username=result.username %}">{% gravatar result.email 150 %}</a> | |
| 4 | + <div class="col-md-2 center"> | |
| 5 | + <a href="{% url 'user_profile' username=result.username %}"> | |
| 6 | + {% block gravatar_img %}{% gravatar result.email 100 %}{% endblock gravatar_img %} | |
| 7 | + </a> | |
| 6 | 8 | </div> |
| 7 | 9 | <div class="col-md-10"> |
| 8 | 10 | <strong><a href="{% url 'user_profile' username=result.username %}">{{ result.name }}</a></strong><br> | ... | ... |