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 @@ ...@@ -25,5 +25,9 @@
<a href="{% url 'apply:rounds:list' %}{{ query }}">Show all</a> <a href="{% url 'apply:rounds:list' %}{{ query }}">Show all</a>
</li> </li>
{% endif %} {% endif %}
{% empty %}
<p class="round-block__not-found">
There are no {% if round.end_date %} {{ display_text|lower }} {% else %} open {% endif %} rounds
</p>
{% endfor %} {% endfor %}
</ul> </ul>
...@@ -80,4 +80,11 @@ ...@@ -80,4 +80,11 @@
&__title { &__title {
font-weight: $weight--semibold; 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