diff --git a/app/components/log_summary_component.html.erb b/app/components/log_summary_component.html.erb index a59c78c64..e49567288 100644 --- a/app/components/log_summary_component.html.erb +++ b/app/components/log_summary_component.html.erb @@ -36,6 +36,16 @@

<% end %> + <% if log.sales? %> +

+ <%= case log.ownership_scheme %> + when 1 then "shared ownership" + <% when 2 then "discounted ownership" + <% when 3 then "outright sale" %>> <% end %> + <% end %> +

+ <% end %> + <% if current_user.support? || current_user.organisation.has_managing_agents? %>
<% if log.owning_organisation %> diff --git a/app/views/logs/_log_list.html.erb b/app/views/logs/_log_list.html.erb index d41bdc9a8..df19856e3 100644 --- a/app/views/logs/_log_list.html.erb +++ b/app/views/logs/_log_list.html.erb @@ -11,7 +11,6 @@
<% if logs&.any? && (display_delete_logs?(@current_user, searched, filter_type) || in_organisations_tab?) %> - <%# remove @ on current user %> <%= govuk_link_to "Delete logs", delete_logs_path, class: "app-!-colour-red" %> <% end %>