Skip to content

Commit

Permalink
Merge pull request #1089 from internetee/add-clarifying-comment
Browse files Browse the repository at this point in the history
Add clarifying comment
  • Loading branch information
vohmar authored Feb 27, 2019
2 parents dd92633 + 1cacb76 commit 6a67ea4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/views/application/_flash_messages.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<% display = (flash[:notice] || flash[:alert] || flash[:warning]) ? 'block' : 'none' %>
<div id="flash" style="display: <%= display %>;">
<!-- Used by Mobile-ID login -->
<% type = (flash[:notice]) ? 'bg-success' : 'bg-danger' %>
<% type = 'bg-warning' if flash[:warning] %>
<div class="<%= type %> alert">
Expand Down

0 comments on commit 6a67ea4

Please sign in to comment.