Skip to content

Commit

Permalink
fix success message for upload numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
shua123 committed Sep 26, 2016
1 parent af2afb1 commit 33d7cfd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,13 @@

<div id="page-container" class="container">
<div id="notifications">
<% if flash[:notice] || flash[:alert] || flash[:error] %>
<% if flash[:notice] || flash[:alert] || flash[:error] || flash[:success] %>
<div class="alert <%= flash[:notice].present? ? "alert-success" : "alert-error" %>">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<%= flash[:alert] %>
<%= flash[:notice] %>
<%= flash[:error] %>
<%= flash[:success] %>
</div>
<% end %>
</div> <!-- notifications -->
Expand Down

0 comments on commit 33d7cfd

Please sign in to comment.