Commit be2e60f8907fb9acffcb14a1fd0a0da37233fcc4

Authored by Antonio Terceiro
1 parent d62bb218

ActionItem1020: fix usage of the wizard parameter

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
app/views/search/_profile.rhtml
1 <%# FIXME add more information %> 1 <%# FIXME add more information %>
2 <% if (params[:visualization_mode] == 'list') && params[:wizard] %> 2 <% if (params[:visualization_mode] == 'list') && params[:wizard] %>
3 <%= profile_add_link profile %> 3 <%= profile_add_link profile %>
4 -<% elsif params[:wizard] %>  
5 - <%= profile_add_link profile, true, :portrait %>  
6 -<% else %> 4 +<% elsif params[:wizard].blank? %>
7 <%= profile_image_link profile, :portrait %> 5 <%= profile_image_link profile, :portrait %>
  6 +<% else %>
  7 + <%= profile_add_link profile, true, :portrait %>
8 <% end %> 8 <% end %>