From bcd95aab4a3172dd96d5dfeba7286d4883ccf5a8 Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Sun, 21 Jul 2019 19:14:02 +1200 Subject: [PATCH] removed unused partial --- app/views/members/_actions.html.haml | 15 --------------- app/views/members/show.html.haml | 3 --- 2 files changed, 18 deletions(-) delete mode 100644 app/views/members/_actions.html.haml diff --git a/app/views/members/_actions.html.haml b/app/views/members/_actions.html.haml deleted file mode 100644 index 9e69566d0..000000000 --- a/app/views/members/_actions.html.haml +++ /dev/null @@ -1,15 +0,0 @@ --# %p.btn-group --# - if can? :update, @member --# = link_to edit_member_registration_path, class: 'btn btn-default text-right' do --# = edit_icon --# = t('members.edit_profile') - --# - if can?(:create, Notification) && current_member != @member --# = link_to 'Send message', new_notification_path(recipient_id: @member.id), class: 'btn btn-default' - --# - if current_member && current_member != @member # must be logged in, can't follow yourself --# - follow = current_member.get_follow(@member) --# - if !follow && can?(:create, Follow) # not already following --# = link_to 'Follow', follows_path(followed: @member), method: :post, class: 'btn btn-default text-right' --# - if follow && can?(:destroy, follow) # already following --# = link_to 'Unfollow', follow_path(follow), method: :delete, class: 'btn btn-default text-right' diff --git a/app/views/members/show.html.haml b/app/views/members/show.html.haml index 772b95dbd..5e1192c31 100644 --- a/app/views/members/show.html.haml +++ b/app/views/members/show.html.haml @@ -7,9 +7,6 @@ = tag("meta", property: "og:url", content: request.original_url) = tag("meta", property: "og:site_name", content: ENV['GROWSTUFF_SITE_NAME']) - -= render 'members/actions', member: @member - - content_for :member_rss_login_name, @member.login_name - content_for :member_rss_slug, @member.slug