diff options
| author | Magnus Hagander | 2016-02-12 12:17:31 +0000 |
|---|---|---|
| committer | Magnus Hagander | 2016-02-12 12:17:54 +0000 |
| commit | 52d0545b824889a64d16792e7ebf7c402f669af5 (patch) | |
| tree | 2e10fc50b8e8d8af15aa71a543b97d4063b1feae | |
| parent | 48b520c3f8ac9cac8066db01ce1bcb26111a70e3 (diff) | |
Fix accidentaly reversed condition
Blogs would display as error in list and warning on the details page,
and the other way around. Oops.
| -rw-r--r-- | hamnadmin/hamnadmin/register/templates/edit.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hamnadmin/hamnadmin/register/templates/edit.html b/hamnadmin/hamnadmin/register/templates/edit.html index 31d226b..ef9e272 100644 --- a/hamnadmin/hamnadmin/register/templates/edit.html +++ b/hamnadmin/hamnadmin/register/templates/edit.html @@ -8,7 +8,7 @@ {%if blog.approved%} This blog is currently <span class="label label-success">approved</span>. {%if blog.recent_failures%} -{%if blog.recent_failures > 5%} +{%if blog.recent_failures <= 5%} This blog has generated <span class="label label-warning">sporadic errors</span> in the past 24 hours. See the <a href="#log">log</a> below for details. {%else%} |
