From be2e60f8907fb9acffcb14a1fd0a0da37233fcc4 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Wed, 13 May 2009 17:16:11 -0300 Subject: [PATCH] ActionItem1020: fix usage of the wizard parameter --- app/views/search/_profile.rhtml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/search/_profile.rhtml b/app/views/search/_profile.rhtml index 13e264b..53a528b 100644 --- a/app/views/search/_profile.rhtml +++ b/app/views/search/_profile.rhtml @@ -1,8 +1,8 @@ <%# FIXME add more information %> <% if (params[:visualization_mode] == 'list') && params[:wizard] %> <%= profile_add_link profile %> -<% elsif params[:wizard] %> - <%= profile_add_link profile, true, :portrait %> -<% else %> +<% elsif params[:wizard].blank? %> <%= profile_image_link profile, :portrait %> +<% else %> + <%= profile_add_link profile, true, :portrait %> <% end %> -- libgit2 0.21.2