User profile page: only display providers if there are some
Someone uses uMap with classic auth username/password, and they don't want those empty HTML elements
This commit is contained in:
parent
25b3a66351
commit
a89e6622ed
1 changed files with 25 additions and 23 deletions
|
@ -19,6 +19,7 @@
|
|||
<input type="submit" value="{% trans 'Save' %}" />
|
||||
</form>
|
||||
</div>
|
||||
{% if backends.backends|length %}
|
||||
<div class="row">
|
||||
<h3>{% trans "Your current providers" %}</h3>
|
||||
<ul>
|
||||
|
@ -44,5 +45,6 @@
|
|||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endblock maincontent %}
|
||||
|
|
Loading…
Reference in a new issue