Commit dcdfb306 authored by Pietro Albini's avatar Pietro Albini

Make more elegant no item to display message in users/#/user_name/favorites

parent 0c1dc927
...@@ -2344,3 +2344,11 @@ div.wmd-button-bar { ...@@ -2344,3 +2344,11 @@ div.wmd-button-bar {
h3.or_label, .signin_form#dummy_form_unused { h3.or_label, .signin_form#dummy_form_unused {
display: none !important; display: none !important;
} }
.no-item-to-display
{
font-size: 16px;
font-weight: bold;
text-align: center;
padding: 10px;
}
{% extends "user.html" %}
{% load extra_tags question_list_tags i18n %}
{% block usercontent %}
<div class="user-stats-table">
{% if favorites %}
{% for favorite in favorites %}
{% question_list_item favorite.node favorite_count=yes signature_type=badges %}
{% endfor %}
{% else %}
<div class="no-item-to-display">{% trans "No favorite questions to display." %}</div>
{% endif %}
</div>
{% endblock %}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment