Skip to content

Commit

Permalink
Merge pull request #5223 from freedomofpress/5220-remove-unstyled-alert
Browse files Browse the repository at this point in the history
Removed submission preference alert from top of config page
  • Loading branch information
rmol authored May 4, 2020
2 parents ecf6255 + fbc7555 commit 3f5dd75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion securedrop/journalist_templates/flashed.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
{% for category, message in messages %}
{% if category != "banner-warning" and category != "logo-success" and category != "logo-error"%}
{% if category != "banner-warning" and category != "logo-success" and category != "logo-error" and category != "submission-preferences-success" %}
<div class="flash {{ category }}">
{% if category == "notification" %}
<img src="{{ url_for('static', filename='i/font-awesome/info-circle-black.png') }}" height="16" width="20">
Expand Down

0 comments on commit 3f5dd75

Please sign in to comment.