aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-06-25 07:20:08 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-06-25 07:20:08 +0200
commit9f8e312fe752a8401e5b3280576ac1358528b074 (patch)
treee3cfc0424da1eaac9066a0adcbaebbba5b5c271f
parentNo trailing space for the 'logout' view. (diff)
downloadnewspipe-9f8e312fe752a8401e5b3280576ac1358528b074.tar.gz
newspipe-9f8e312fe752a8401e5b3280576ac1358528b074.tar.bz2
newspipe-9f8e312fe752a8401e5b3280576ac1358528b074.zip
It is better to use a dismissable alert here.
-rw-r--r--pyaggr3g470r/templates/home.html17
1 files changed, 10 insertions, 7 deletions
diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html
index 81aeea9c..95b7ef54 100644
--- a/pyaggr3g470r/templates/home.html
+++ b/pyaggr3g470r/templates/home.html
@@ -119,13 +119,16 @@
</div>
{% else %}
<br />
- {% if filter_ == 'all' %}
- <div class="alert alert-warning"><strong>{{ _('Oh!') }}</strong> {{ _('This feed is empty.') }}</div>
- {% elif filter_ == 'read' %}
- <div class="alert alert-info"><strong>{{ _('Work for you!') }}</strong> {{ _('All articles are unread.') }}</div>
- {% elif filter_ == 'unread' %}
- <div class="alert alert-success"><strong>{{ _('Well done!') }}</strong> {{ _('You read all articles.') }}</div>
- {% endif %}
+ <div class="alert alert-warning alert-dismissable">
+ <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
+ {% if filter_ == 'all' %}
+ <strong>{{ _('Oh!') }}</strong> {{ _('This feed is empty.') }}
+ {% elif filter_ == 'read' %}
+ <strong>{{ _('Work for you!') }}</strong> {{ _('All articles are unread.') }}
+ {% elif filter_ == 'unread' %}
+ <strong>{{ _('Well done!') }}</strong> {{ _('You read all articles.') }}
+ {% endif %}
+ </div>
{% endif %}
</div><!-- /.container -->
{% endif %}
bgstack15