Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
991235c
run 115r .dassie/app/views/
rawOrlando May 20, 2025
b903576
initail i18n-tasks normalize en
rawOrlando May 20, 2025
7fe4a7f
i15r app/views/catalog
rawOrlando May 20, 2025
2024317
i15r app/views/hyrax/admin/admin_sets
rawOrlando May 21, 2025
316da26
normalize last commit
rawOrlando May 21, 2025
6fd1419
i15r app/views/hyrax/admin/analytics
rawOrlando May 21, 2025
6a46365
i15r app/views/hyrax/admin/collection_types
rawOrlando May 21, 2025
73e8dea
i15r app/views/hyrax/admin/features
rawOrlando May 21, 2025
87add47
i15r app/views/hyrax/admin/stats
rawOrlando May 21, 2025
ba53e7e
follow up for _top_data
rawOrlando May 21, 2025
dbb6f4a
i15r app/views/hyrax/admin/workflows
rawOrlando May 21, 2025
fbfd693
i15r app/views/hyrax/base
rawOrlando May 21, 2025
6613362
i15r app/views/hyrax/batch_edits
rawOrlando May 21, 2025
9e1d24f
i15r app/views/hyrax/batch_select
rawOrlando May 21, 2025
28e3460
i15r app/views/hyrax/citations
rawOrlando May 21, 2025
f98217f
small forgotten change
rawOrlando May 21, 2025
3af0ea0
i15r app/views/hyrax/permissions
rawOrlando May 21, 2025
d187a3c
i15r app/views/hyrax/single_use_links_viewer
rawOrlando May 21, 2025
ea0d76a
i15r app/views/hyrax/users
rawOrlando May 21, 2025
c16d3a4
i15r app/views/hyrax/pages
rawOrlando May 21, 2025
856b757
i15r app/views/hyrax/operations
rawOrlando May 21, 2025
655ca08
i15r app/views/hyrax/file_sets/
rawOrlando May 22, 2025
e5e3a19
i15r app/views/hyrax/dashbord/
rawOrlando May 23, 2025
48403dc
clean up
rawOrlando May 23, 2025
2532584
Add a new script to translate .en.yml file to other languages
rawOrlando Nov 3, 2025
10b8344
clean up
rawOrlando Nov 4, 2025
51e8326
run i15r /app/views/shared
rawOrlando Nov 4, 2025
49b932e
run i15r app/views/layouts
rawOrlando Nov 4, 2025
8b11f08
run i15r app/views/hyrax/content_blocks
rawOrlando Nov 4, 2025
4255a69
Remove translate_missing.py script it will be in samvera labs
rawOrlando Nov 6, 2025
a9b3041
Clean up
rawOrlando Nov 6, 2025
243cdde
clean up
rawOrlando Nov 6, 2025
24162b5
i15r app/views/hyrax/users
rawOrlando May 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .dassie/app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Dassie</title>
<title><%= I18n.t("layouts.application.dev_env", :default => "Dassie") %></title>
<%= csrf_meta_tags %>
<%= csp_meta_tag %>

Expand Down
2 changes: 1 addition & 1 deletion .dassie/app/views/shared/_footer.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<p><%= t('hyrax.footer.service_html') %> <%= t('hyrax.product_name') %> v<%= Hyrax::VERSION %></p>
<p>Commit <%= link_to ENV.fetch('BUILD_GITSHA', "Unknown")[0..6],
"https://github.com/samvera/hyrax/commit/#{ENV.fetch('BUILD_GITSHA', 'main')}" %>
Built at <%= ENV.fetch('BUILD_TIMESTAMP', 'Unknown') %>
<%= I18n.t('shared.footer.built_at', time: ENV.fetch('BUILD_TIMESTAMP', 'Unknown'), :default => "Built at %{time}"); %>
</p>
</div>
<div class="navbar-right">
Expand Down
6 changes: 6 additions & 0 deletions .dassie/config/locales/hyrax.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,9 @@ en:
institution_name_full: The Institution Name
product_name: Hyrax
product_twitter_handle: "@SamveraRepo"
layouts:
application:
dev_env: "Dassie"
shared:
footer:
built_at: "Built at %{time}"
2 changes: 1 addition & 1 deletion app/views/catalog/_edit_partials/_default_details.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<div id="multipleEdit">
<dl class="defList fl-theme-mist">
<%= editable_metadata_field(@document_fedora, "descMetadata", :title, label: "Title:") %>
<%= editable_metadata_field(@document_fedora, "descMetadata", :title, label: I18n.t("catalog._edit_partials.default_details.title", :default => "Title:")) %>
</dl>
</div>
</div>
Expand Down
10 changes: 4 additions & 6 deletions app/views/hyrax/admin/admin_sets/_form_participants.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@
class: 'form-control' %>
</div>
<div class="form-group">
<label>as</label>
<%= builder.select :access,
access_options,
<label><%= I18n.t("hyrax.admin.admin_sets.form_participants.as", :default => "as") %></label>
<%= builder.select :access, access_options,
{ prompt: "Select a role..." },
class: 'form-control' %>
</div>
Expand All @@ -47,9 +46,8 @@
placeholder: "Search for a user..." %>
</div>
<div class="form-group">
<label>as</label>
<%= builder.select :access,
access_options,
<label><%= I18n.t("hyrax.admin.admin_sets.form_participants.as", :default => "as") %></label>
<%= builder.select :access, access_options,
{ prompt: "Select a role..." },
class: 'form-control' %>
</div>
Expand Down
12 changes: 6 additions & 6 deletions app/views/hyrax/admin/admin_sets/_show_document_list.html.erb
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<table class="table table-striped">
<caption class="sr-only">List of items in this administrative set</caption>
<caption class="sr-only"><%= I18n.t("hyrax.admin.admin_sets.show_document_list.list_of_items_in_this_administrative_set", :default => "List of items in this administrative set") %></caption>
<thead>
<tr>
<th>&nbsp;</th>
<th>Title</th>
<th>Date Uploaded</th>
<th>Visibility</th>
<th>Status</th>
<th>Actions</th>
<th><%= I18n.t("hyrax.admin.admin_sets.show_document_list.title", :default => "Title") %></th>
<th><%= I18n.t("hyrax.admin.admin_sets.show_document_list.date_uploaded", :default => "Date Uploaded") %></th>
<th><%= I18n.t("hyrax.admin.admin_sets.show_document_list.visibility", :default => "Visibility") %></th>
<th><%= I18n.t("hyrax.admin.admin_sets.show_document_list.status", :default => "Status") %></th>
<th><%= I18n.t("hyrax.admin.admin_sets.show_document_list.actions", :default => "Actions") %></th>
</tr>
</thead>
<tbody>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@
<tr id="detail_<%= id %>"> <!-- document detail"> -->
<td colspan="6">
<dl class="expanded-details row">
<dt class="col-3 col-lg-2">Creator:</dt>
<dt class="col-3 col-lg-2"><%= I18n.t("hyrax.admin.admin_sets.show_document_list_row.creator", :default => "Creator:") %></dt>
<dd class="col-9 col-lg-4"><%= document.creator.to_a.to_sentence %></dd>
<dt class="col-3 col-lg-2">Depositor:</dt>
<dt class="col-3 col-lg-2"><%= I18n.t("hyrax.admin.admin_sets.show_document_list_row.depositor", :default => "Depositor:") %></dt>
<dd class="col-9 col-lg-4"><%= link_to_profile document.depositor %></dd>
<dt class="col-3 col-lg-2">Edit Access:</dt>
<dt class="col-3 col-lg-2"><%= I18n.t("hyrax.admin.admin_sets.show_document_list_row.edit_access", :default => "Edit Access:") %></dt>
<dd class="col-9 col-lg-10">
<% if document.edit_groups.present? %>
Groups: <%= document.edit_groups.join(', ') %>
<%= I18n.t("hyrax.admin.admin_sets.show_document_list_row.groups", :default => "Groups: ") %><%= document.edit_groups.join(', ') %>
<br />
<% end %>
Users: <%= document.edit_people.join(', ') %>
<%= I18n.t("hyrax.admin.admin_sets.show_document_list_row.users", :default => "Users: ") %><%= document.edit_people.join(', ') %>
</dd>
</dl>
</td>
Expand Down
10 changes: 5 additions & 5 deletions app/views/hyrax/admin/admin_sets/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
<table class="table table-striped datatable">
<thead>
<tr>
<th>Title</th>
<th>Date created</th>
<th>Creator</th>
<th>Works</th>
<th><%= I18n.t("hyrax.admin.admin_sets.index.title", :default => "Title") %></th>
<th><%= I18n.t("hyrax.admin.admin_sets.index.date_created", :default => "Date created") %></th>
<th><%= I18n.t("hyrax.admin.admin_sets.index.creator", :default => "Creator") %></th>
<th><%= I18n.t("hyrax.admin.admin_sets.index.works", :default => "Works") %></th>
</tr>
</thead>
<tbody>
Expand All @@ -35,7 +35,7 @@
</table>
</div>
<% else %>
<p>No administrative sets have been created.</p>
<p><%= I18n.t("hyrax.admin.admin_sets.index.no_administrative_sets_have_been_created", :default => "No administrative sets have been created.") %></p>
<% end %>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<thead>
<tr>
<th><%= t('.work_title')%></th>
<th>ID</th>
<th><%= I18n.t("hyrax.admin.analytics.work_reports.top_works.id", :default => "ID") %></th>
<th><%= t('.work_views')%></th>
<th><%= t('.file_downloads')%></th>
</tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
<div class="card-body">
<%= f.input :badge_color, required: false, input_html: { type: 'color' } %>
</div>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<%= f.text_field :agent_id,
placeholder: "Search for a group...",
class: 'form-control' %>
as
<%= I18n.t("hyrax.admin.collection_types.form_participants.as", :default => "as") %>
<%= f.select :access,
access_options,
{ prompt: "Select a role..." },
Expand All @@ -47,7 +47,7 @@
<%= f.hidden_field :agent_type, value: Hyrax::CollectionTypeParticipant::USER_TYPE %>
<%= f.text_field :agent_id,
placeholder: "Search for a user..." %>
as
<%= I18n.t("hyrax.admin.collection_types.form_participants.as", :default => "as") %>
<%= f.select :access,
access_options,
{ prompt: "Select a role..." },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<label id="sharable-applies-to-new-works-setting-label"
class="form-check-label boolean optional <%= 'disabled' if f.object.share_options_disabled? %>"
for="collection_type_share_applies_to_new_works">
APPLY TO NEW WORKS
<%= I18n.t("hyrax.admin.collection_types.form_settings.apply_to_new_works", :default => "APPLY TO NEW WORKS") %>
</label>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/hyrax/admin/features/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<table class="table table-striped">
<thead>
<tr>
<th>Status</th>
<th><%= I18n.t("hyrax.admin.features.index.status", :default => "Status") %></th>
<th class="name"><%= t('.feature') %></th>
<th class="description"><%= t('.description') %></th>
<th class="action"><%= t('.action') %></th>
Expand Down
2 changes: 1 addition & 1 deletion app/views/hyrax/admin/stats/_date_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
<input type="date" name="stats_filters[start_date]" value="<%= @presenter.stats_filters[:start_date] %>" placeholder="yyyy-mm-dd"></input>
<%= f.label "end [defaults to now]" %>
<input type="date" name="stats_filters[end_date]" value="<%= @presenter.stats_filters[:end_date] %>" placeholder="yyyy-mm-dd"></input>
<%= f.submit "Load Stats" %>
<%= f.submit I18n.t("hyrax.admin.stats.date_form.load_stats", :default => "Load Stats") %>
<%- end %>
4 changes: 2 additions & 2 deletions app/views/hyrax/admin/stats/_deposits.html.erb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<h3>Deposits By Users (<%= @presenter.date_filter_string %>)</h3>
<h3><%= I18n.t("hyrax.admin.stats.deposits.deposits_by_users", :default => "Deposits By Users ") %>(<%= @presenter.date_filter_string %>)</h3>
<ul>
<% @presenter.depositors.each do |usr| %>
<li>
<%= link_to usr[:user].name, hyrax.user_path(usr[:user]), title: "View user's profile" %>
deposited <%= pluralize(usr[:deposits], "file") %>
<%= I18n.t("hyrax.admin.stats.deposits.deposited", :default => "deposited ") %><%= pluralize(usr[:deposits], "file") %>
</li>
<% end %>
</ul>
8 changes: 4 additions & 4 deletions app/views/hyrax/admin/stats/_new_users.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<h3>Newest Users (<%= @presenter.date_filter_string %>)</h3>
<h3><%= I18n.t('hyrax.admin.stats.new_users.newest_users', users: @presenter.date_filter_string, :default => "Newest Users (%{users})"); %></h3>
<h4>
<%- if !@presenter.start_date.blank? %>
Total: <%= @presenter.recent_users.count %>
<%= I18n.t("hyrax.admin.stats.new_users.total", :default => "Total: ") %><%= @presenter.recent_users.count %>
<%- else %>
<%= @presenter.recent_users.count %> most recent users:
<%- end %>
Expand All @@ -11,9 +11,9 @@
<li>
<%= link_to usr.name, hyrax.user_path(usr), title: "View user's profile" %>
<%- if usr.department %>
of <%= usr.department %>
<%= I18n.t("hyrax.admin.stats.new_users.of", :default => "of ") %><%= usr.department %>
<%- end %>
registered
<%= I18n.t("hyrax.admin.stats.new_users.registered", :default => "registered") %>
<span class="date">
<%= usr.created_at.to_time.strftime("%m/%d/%Y") %>
</span>
Expand Down
6 changes: 4 additions & 2 deletions app/views/hyrax/admin/stats/_stats_by_date.html.erb
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<h2>Statistics By Date</h2>
<h2><%= I18n.t("hyrax.admin.stats.stats_by_date.statistics_by_date", :default => "Statistics By Date") %></h2>
<p>Statistics in this section are filtered by the dates entered in the form below.
The data is unfiltered unless the date form has been filled in. Start date is required and the default end is now.
<%= I18n.t("hyrax.admin.stats.stats_by_date.explanation", :default => "Statistics in this section are filtered by the dates entered in the form below.
The data is unfiltered unless the date form has been filled in. Start date is required and the default end is now.") %>
</p>
<%= render "date_form" %>
<%= render "works" %>
<%= render "new_users" %>
<%= render "deposits" %>

13 changes: 7 additions & 6 deletions app/views/hyrax/admin/stats/_top_data.html.erb
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
<h2>Top File Formats and Users</h2>
<h3>Statistics in this section shows the top <%= @presenter.limit %> items for each category</h3>
<h2><%= I18n.t("hyrax.admin.stats.top_data.top_file_formats_and_users", :default => "Top File Formats and Users") %></h2>
<h3><%= I18n.t('hyrax.admin.stats.top_data.explanation_with_limit', limit: @presenter.limit, :default => "Statistics in this section shows the top %{limit} items for each category"); %></h3>

<% if @presenter.limit == 5 %>
<p><%= link_to "View top 20", hyrax.admin_stats_path(limit: '20') %> </p>
<p><%= link_to I18n.t('hyrax.admin.stats.top_data.view_top', number: 20, :default => "View top %{number}"), hyrax.admin_stats_path(limit: '20') %> </p>
<% else %>
<p><%= link_to "View top 5", hyrax.admin_stats_path %> </p>
<p><%= link_to I18n.t('hyrax.admin.stats.top_data.view_top', number: 5, :default => "View top %{number}"), hyrax.admin_stats_path %> </p>
<% end %>

<h3>Top File Formats (top <%= @presenter.top_formats.count %>)</h3>
<h3><%= I18n.t('hyrax.admin.stats.top_data.top_file_format', count: @presenter.top_formats.count, :default => "Top File Formats (top %{count})"); %></h3>
<ul>
<% @presenter.top_formats.each do |fmt| %>
<li><%= fmt.label %> <span class="count">(<%= fmt.value %>)</span></li>
<% end %>
</ul>

<br />
<h3>Most Active Users (top <%= @presenter.active_users.count %>)</h3>
<h3><%= I18n.t('hyrax.admin.stats.top_data.most_actie_users', count: @presenter.active_users.count, :default => "Most Active Users (top %{count})"); %></h3>
<ul>
<% @presenter.active_users.each do |user| %>
<li>
Expand Down
2 changes: 1 addition & 1 deletion app/views/hyrax/admin/stats/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
<%= render "stats_by_date" %>
<hr />
<%= render "top_data" %>
</div>
</div>
2 changes: 1 addition & 1 deletion app/views/hyrax/admin/workflows/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<fieldset class="col-12">
<legend class="sr-only"><%= t('hyrax.dashboard.my.sr.results_per_page') %></legend>
<%= label_tag :per_page do %>
Show <%= select_tag :per_page, options_for_select(Hyrax.config.range_for_number_of_results_to_display_per_page.map(&:to_s), h(params[:per_page])), title: "entries" %> per page
<%= I18n.t('hyrax.admin.workflows.show_number_per_page', number: (select_tag :per_page, options_for_select(Hyrax.config.range_for_number_of_results_to_display_per_page.map(&:to_s), h(params[:per_page])), title: "entries"), :default => "Show %{number}) per page"); %>
<% end %>
<%= render Blacklight::HiddenSearchStateComponent.new(params: search_state.params_for_search.except(:per_page, :sort, :utf8)) %>
</fieldset>
Expand Down
2 changes: 1 addition & 1 deletion app/views/hyrax/base/_form_member_of_collections.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ HTML Properties:
</thead>
<tbody>
<tr class="sr-only">
<td>This table will only display data if works are assigned to collections</td>
<td><%= I18n.t("hyrax.base.form_member_of_collections.display_data_info", :default => "This table will only display data if works are assigned to collections") %></td>
<td><span></span></td>
</tr>
</tbody>
Expand Down
2 changes: 1 addition & 1 deletion app/views/hyrax/base/_member_of_collections.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<tr>
<td>Member of Collections</td>
<td><%= I18n.t("hyrax.base.member_of_collections.member_of_collections", :default => "Member of Collections") %></td>
<td>
<ul class="member_of_collections">
<% presenter.member_of_collection_presenters.each do |p| %>
Expand Down
1 change: 0 additions & 1 deletion app/views/hyrax/base/_relationships_parent_rows.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@
<% if current_user %>
<%= presenter.attribute_to_html(:admin_set, render_as: :faceted, html_dl: true) %>
<% end %>

2 changes: 1 addition & 1 deletion app/views/hyrax/base/inspect_work.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@

<h3><%= t('.persistence') %></h3>
<dl>
<dt>Solr</dt>
<dt><%= I18n.t("hyrax.base.inspect_work.solr", :default => "Solr") %></dt>
<dd><%= @presenter.inspect_work.solr %></dd>
</dl>
6 changes: 3 additions & 3 deletions app/views/hyrax/batch_edits/edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<%= hidden_field_tag "batch_document_ids[]", batch_id %>
<% end %>
<div>
<%= f.submit "Save changes", class: 'btn btn-primary field-save', id: "#{term.to_s}_save" %>
<%= f.submit I18n.t("hyrax.batch_edits.edit.save_changes", :default => "Save changes"), class: 'btn btn-primary field-save', id: "#{term.to_s}_save" %>
<a class="btn btn-secondary" data-toggle="collapse" data-parent="#row_<%= term.to_s %>" href="#collapse_<%= term.to_s %>"><%= t('helpers.action.cancel') %> </a>
<div class="status fleft"></div>
</div>
Expand Down Expand Up @@ -80,7 +80,7 @@
<%= hidden_field_tag "batch_document_ids[]", batch_id %>
<% end %>
<div>
<%= f.submit "Save changes", class: 'btn btn-primary field-save', id: "permissions_visibility_save" %>
<%= f.submit I18n.t("hyrax.batch_edits.edit.save_changes", :default => "Save changes"), class: 'btn btn-primary field-save', id: "permissions_visibility_save" %>
<a class="btn btn-secondary" data-toggle="collapse" data-parent="#row_permissions_visibility" href="#collapse_permissions_visibility"><%= t('helpers.action.cancel') %></a>
<div class="status fleft"></div>
</div>
Expand Down Expand Up @@ -110,7 +110,7 @@
<%= hidden_field_tag "batch_document_ids[]", batch_id %>
<% end %>
<div>
<%= f.submit "Save changes", class: 'btn btn-primary field-save', id: "permissions_sharing_save" %>
<%= f.submit I18n.t("hyrax.batch_edits.edit.save_changes", :default => "Save changes"), class: 'btn btn-primary field-save', id: "permissions_sharing_save" %>
<a class="btn btn-secondary" data-toggle="collapse" data-parent="#row_permissions_sharing" href="#collapse_permissions_sharing"><%= t('helpers.action.cancel') %></a>
<div class="status fleft"></div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/hyrax/batch_select/_add_button.html.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<div data-behavior="batch-add-button">
<%= check_box_tag "batch_document_ids[]", document.id, false, class:"batch_document_selector", id: "batch_document_#{document.id}", checks: "active", 'aria-labelledby': "batch_document_#{document.id}" %>
</div>
</div>
1 change: 1 addition & 0 deletions app/views/hyrax/citations/file.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

6 changes: 3 additions & 3 deletions app/views/hyrax/citations/work.html.erb
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<h4><%= t('.citation_formats') %></h4>

<h4>MLA</h4>
<h4><%= I18n.t("hyrax.citations.work.mla", :default => "MLA") %></h4>
<span class="mla-citation"><%= export_as_mla_citation(@presenter) %></span>
<br /><br />

<h4>APA</h4>
<h4><%= I18n.t("hyrax.citations.work.apa", :default => "APA") %></h4>
<span class="apa-citation"><%= export_as_apa_citation(@presenter) %></span>
<br /><br />

<h4>Chicago</h4>
<h4><%= I18n.t("hyrax.citations.work.chicago", :default => "Chicago") %></h4>
<span class="chicago-citation"><%= export_as_chicago_citation(@presenter) %></span>
<br /><br />
6 changes: 3 additions & 3 deletions app/views/hyrax/content_blocks/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<%= simple_form_for ContentBlock.for(:announcement), url: hyrax.content_block_path(ContentBlock.for(:announcement)), html: {class: 'nav-safety'} do |f| %>
<div class="card-body">
<div class="field form-group">
<%= f.label :announcement %><br />
<%= f.label I18n.t("hyrax.content_blocks.form.announcement", :default => "announcement") %><br />
<%= f.text_area :announcement, value: f.object.value, class: 'form-control tinymce', rows: 20, cols: 120 %>
</div>
</div>
Expand All @@ -39,7 +39,7 @@
<%= simple_form_for ContentBlock.for(:marketing), url: hyrax.content_block_path(ContentBlock.for(:marketing)), html: {class: 'nav-safety'} do |f| %>
<div class="card-body">
<div class="field form-group">
<%= f.label :marketing %><br />
<%= f.label I18n.t("hyrax.content_blocks.form.marketing", :default => "marketing") %><br />
<%= f.text_area :marketing, value: f.object.value, class: 'form-control tinymce', rows: 20, cols: 120 %>
</div>
</div>
Expand All @@ -55,7 +55,7 @@
<%= simple_form_for ContentBlock.for(:researcher), url: hyrax.content_block_path(ContentBlock.for(:researcher)), html: {class: 'nav-safety'} do |f| %>
<div class="card-body">
<div class="field form-group">
<%= f.label :researcher %><br />
<%= f.label I18n.t("hyrax.content_blocks.form.researcher", :default => "researcher") %><br />
<%= f.text_area :researcher, value: f.object.value, class: 'form-control tinymce', rows: 20, cols: 120 %>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,10 @@
<dt class="col-3 col-lg-2"><%= t('.edit_access') %></dt>
<dd class="col-9 col-lg-10">
<% if document.edit_groups.present? %>
Groups: <%= document.edit_groups.join(', ') %>
<%= I18n.t("hyrax.dashboard.collections.show_document_list_row.groups", :default => "Groups: ") %><%= document.edit_groups.join(', ') %>
<br />
<% end %>
Users: <%= document.edit_people.join(', ') %>
</dd>
<%= I18n.t("hyrax.dashboard.collections.show_document_list_row.users", :default => "Users: ") %><%= document.edit_people.join(', ') %>
</dl>
</td>
</tr>
Loading
Loading