Skip to content

Commit a9b3041

Browse files
committed
Clean up
1 parent 4255a69 commit a9b3041

3 files changed

Lines changed: 2 additions & 7 deletions

File tree

app/views/hyrax/file_sets/_asset_permissions_denial_flash.html.erb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<%=total_shown = 20
1+
<%=
2+
total_shown = 20
23
files = file_sets.first(total_shown)
34
.map { |fs| link_to(fs, file_set_url(fs)) }
45
.tap { |fs| fs << '...' if file_sets.length > total_shown }

app/views/hyrax/users/_user_info.html.erb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@
2020
<dd><%= link_to user.twitter_handle, "http://x.com/#{user.twitter_handle}", {target:'_blank'} %></dd>
2121
<% end %>
2222

23-
<% if user.googleplus_handle.present? %>
24-
<dt><span class="fa fa-google-plus" aria-hidden="true"></span> <%= I18n.t("hyrax.users.user_info.googleplus_handle", :default => "Google+ Handle") %></dt>
25-
<dd><%= link_to user.googleplus_handle, "http://google.com/+#{user.googleplus_handle}", {target:'_blank'} %></dd>
26-
<% end %>
27-
2823
<% if user.linkedin_handle.present? %>
2924
<dt><span class="fa fa-linkedin" aria-hidden="true"></span> <%= I18n.t("hyrax.users.user_info.linkedin", :default => "LinkedIn") %></dt>
3025
<dd><%= link_to "#{@linkedInUrl}", "#{@linkedInUrl}", { target: '_blank' } %></dd>

config/locales/hyrax.en.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1838,7 +1838,6 @@ en:
18381838
department: Department
18391839
email: Email
18401840
facebook_handle: Facebook Handle
1841-
googleplus_handle: Google+ Handle
18421841
linkedin: LinkedIn
18431842
office: Office
18441843
telephone: Telephone

0 commit comments

Comments
 (0)