Skip to content

Commit

Permalink
base_userdashboard; fix mobile dropdown to show orgs fixes #59
Browse files Browse the repository at this point in the history
  • Loading branch information
philli-m committed Mar 25, 2021
1 parent 5c60ef4 commit 35ab494
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,14 @@ <h3>{% trans 'Organisations' %}</h3>
</div>
<!-- mobile -->
<div class="d-sm-none">
{% if view.organisations %}
<div class="dropdown"
data-toggle="collapse"
href="#userDashboardCollapseOrg"
aria-expanded="true"
aria-controls="#userDashboardCollapseOrg"
data-target="#userDashboardCollapseOrg">
<h3>{% trans 'Organisations' %}</h3>
<h3>{% trans 'Organisations' %}</h3>
<i class="fa fa-chevron-up" aria-hidden="true"></i>
</div>
<ul class="u-list-reset scollapse show" id="userDashboardCollapseOrg" aria-hidden="false">
Expand All @@ -159,6 +160,12 @@ <h3>{% trans 'Organisations' %}</h3>
</li>
{% endfor %}
</ul>
{% else %}
<h3>{% trans 'Organisations' %}</h3>
<div class="mb-3">
{% trans 'You are not yet following any projects.' %}
</div>
{% endif %}
</div>
</div>
</div>
Expand Down

0 comments on commit 35ab494

Please sign in to comment.