diff options
| author | rubenwardy <rw@rubenwardy.com> | 2018-12-22 20:13:43 +0000 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2018-12-22 20:25:22 +0000 |
| commit | c551201f792aa288a49c986aab264f4692e3b478 (patch) | |
| tree | d894bc68c7a0b06b642e7eceb7032fc5a1115420 /app/views | |
| parent | a21a5c24d8baa2f14000ca64c10ea315fab708bd (diff) | |
| download | cheatdb-c551201f792aa288a49c986aab264f4692e3b478.tar.xz | |
Improve thread styling
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/packages/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/packages/__init__.py b/app/views/packages/__init__.py index 827434f..a3a4198 100644 --- a/app/views/packages/__init__.py +++ b/app/views/packages/__init__.py @@ -181,13 +181,13 @@ def package_page(package): errors = [] if Package.query.filter_by(forums=package.forums, soft_deleted=False).count() > 1: errors.append("<b>Error: Another package already uses this forum topic!</b>") - topic_error_lvl = "error" + topic_error_lvl = "danger" topic = ForumTopic.query.get(package.forums) if topic is not None: if topic.author != package.author: errors.append("<b>Error: Forum topic author doesn't match package author.</b>") - topic_error_lvl = "error" + topic_error_lvl = "danger" if topic.wip: errors.append("Warning: Forum topic is in WIP section, make sure package meets playability standards.") |
