Skip to content

Commit

Permalink
base_userdashboard: add wording for when no projects followed fixes #50
Browse files Browse the repository at this point in the history
  • Loading branch information
philli-m authored and fuzzylogic2000 committed Oct 28, 2021
1 parent 5729f9c commit b423d95
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,12 @@ <h3>{% trans 'Initiator Organisations' %}</h3>
{% endfor %}
</ul>
</div>

{% endif %}


<div class="d-none d-sm-block">
<h3>{% trans 'Organisations' %}</h3>
{% if view.organisations %}
{% for organisation in view.organisations %}
<a class="btn btn--link text-decoration-none text-muted" href="{% url 'organisation' organisation_slug=organisation.slug %}">
{% if organisation.logo %}
Expand All @@ -127,6 +127,11 @@ <h3>{% trans 'Organisations' %}</h3>
&nbsp {{ organisation.name }}
</a>
{% endfor %}
{% else %}
<div class="mb-3">
{% trans 'You are not yet following any projects.' %}
</div>
{% endif %}
</div>
<!-- mobile -->
<div class="d-sm-none">
Expand Down

0 comments on commit b423d95

Please sign in to comment.