diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-07-07 19:07:56 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-07-07 19:07:56 +0200 |
commit | 5e875745762fe5cc8f71a5a0ced293c879696fdb (patch) | |
tree | 57f3d37c533a8843ebb699bfbc8745d19d82b1db /pyaggr3g470r/templates | |
parent | Typo in NEWS.rst. (diff) | |
download | newspipe-5e875745762fe5cc8f71a5a0ced293c879696fdb.tar.gz newspipe-5e875745762fe5cc8f71a5a0ced293c879696fdb.tar.bz2 newspipe-5e875745762fe5cc8f71a5a0ced293c879696fdb.zip |
Added 'warning' CSS class for table rows of disabled feeds.
Diffstat (limited to 'pyaggr3g470r/templates')
-rw-r--r-- | pyaggr3g470r/templates/admin/dashboard.html | 2 | ||||
-rw-r--r-- | pyaggr3g470r/templates/feeds.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pyaggr3g470r/templates/admin/dashboard.html b/pyaggr3g470r/templates/admin/dashboard.html index 5e774650..d8939844 100644 --- a/pyaggr3g470r/templates/admin/dashboard.html +++ b/pyaggr3g470r/templates/admin/dashboard.html @@ -17,7 +17,7 @@ </thead> <tbody> {% for user in users|sort(attribute="last_seen")|reverse %} - <tr {% if user.activation_key != "" %}class="warning"{% endif %} > + <tr {% if user.activation_key != "" %}class="warning"{% endif %}> <td>{{ loop.index }}</td> {% if user.id == current_user.id %} <td><a href="/management">{{ user.nickname }}</a> (It's you!)</td> diff --git a/pyaggr3g470r/templates/feeds.html b/pyaggr3g470r/templates/feeds.html index 509df190..8c30614f 100644 --- a/pyaggr3g470r/templates/feeds.html +++ b/pyaggr3g470r/templates/feeds.html @@ -16,7 +16,7 @@ </thead> <tbody> {% for feed in feeds|sort(attribute="title") %} - <tr> + <tr {% if not feed.enabled %}class="warning"{% endif %}> <td>{{ loop.index }}</td> <td> {% if feed.enabled %} |