Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh the Home page when it's empty #399

Merged
merged 1 commit into from
Jun 27, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions promgen/templates/promgen/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,17 @@
{% include "promgen/service_header.html" %}
{% include "promgen/service_block.html" %}
{% empty %}
<h3>No Subscriptions Found</h3>
<p>
Try Subscribing to some notifications from the
<a href="{% url 'service-list' %}">Service</a> or
<a href="{% url 'datasource-list' %}">Datasource</a> menu
</p>
<div class="page-header">
<h1>It seems you don't have any subscriptions yet!</h1>
</div>
<p class="lead">
Get started by subscribing to notifications from an existing
<a href="{% url 'service-list' %}">service</a> or check out the list of
<a href="{% url 'datasource-list' %}">data sources</a>.
</p>
<p class="lead">
Or, if you want, <a href="{% url 'service-new' %}">register</a> a new service.
</p>
{% endfor %}

{% endblock %}