Skip to content

Commit

Permalink
自由課題、 counter > 5
Browse files Browse the repository at this point in the history
  • Loading branch information
kyanny committed Jan 20, 2010
1 parent 5ce0747 commit bea067f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion depot/app/views/layouts/store.html.erb
Expand Up @@ -24,7 +24,11 @@
<% if flash[:notice] %>
<div id="notice"><%= flash[:notice] %></div>
<% end %>
<div><%= pluralize(session[:counter], "visit") %>, thanks!</div>
<div>
<% if session[:counter] > 5 %>
<%= pluralize(session[:counter], "visit") %>, thanks!
<% end %>
</div>
<%= yield :layout %><!-- <label id="code.depot.e.include"/> -->
</div>
</div>
Expand Down

0 comments on commit bea067f

Please sign in to comment.