Skip to content
Snippets Groups Projects
Unverified Commit dbdbc6bb authored by Todd Dembrey's avatar Todd Dembrey Committed by GitHub
Browse files

Merge pull request #903 from OpenTechFund/fix/809-no-open-rounds

show help text if there are no open or closed rounds
parents f23a9798 cf4ca86a
No related branches found
No related tags found
No related merge requests found
......@@ -25,5 +25,9 @@
<a href="{% url 'apply:rounds:list' %}{{ query }}">Show all</a>
</li>
{% endif %}
{% empty %}
<p class="round-block__not-found">
There are no {% if round.end_date %} {{ display_text|lower }} {% else %} open {% endif %} rounds
</p>
{% endfor %}
</ul>
......@@ -80,4 +80,11 @@
&__title {
font-weight: $weight--semibold;
}
&__not-found {
margin: 0;
padding: 20px;
background-color: $color--white;
border: 1px solid $color--light-mid-grey;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment