Skip to content

Commit

Permalink
index page tweaks including html_safe on columns with entities etc
Browse files Browse the repository at this point in the history
  • Loading branch information
jambun committed Jun 14, 2024
1 parent 0e1426d commit d7e3ff2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 2 additions & 0 deletions frontend/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ en:
label: RefTracker Offers
import_button_label: Import
results:
offers_description: Showing Manuscripts offers, in descending offer number order, excluding those with identifiers already in ArchivesSpace.
offers_instruction: Select offers using the checkboxes and click Import to import them as Accessions.
closed_offers: Showing closed offers, most recent first. Select offers using the checkboxes and click Import to import them as Accessions.
question_no: "Offer #"
bib_udf_tb03: Identifier
Expand Down
9 changes: 5 additions & 4 deletions frontend/views/reftracker_offers/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@

<%= render_aspace_partial :partial => "shared/form_messages" %>

<p><%= I18n.t('plugins.reftracker_offers.results.closed_offers') %></p>
<p><%= I18n.t('plugins.reftracker_offers.results.offers_description') %></p>
<p><%= I18n.t('plugins.reftracker_offers.results.offers_instruction') %></p>

<%= form_tag({:controller => :reftracker_offers, :action => :import}) do %>

Expand Down Expand Up @@ -40,16 +41,16 @@
<%= offer['question_no'] %>
</td>
<td class="rto-td rto-nowrap">
<%= offer['client_name'] %>
<%= offer['client_name'].html_safe %>
</td>
<td class="rto-td rto-nowrap">
<%= offer['bib_udf_tb03'] %>
</td>
<td class="rto-td">
<%= offer['bib_title'] %>
<%= offer['bib_title'].html_safe %>
</td>
<td class="rto-td">
<%= offer['question_text'] %>
<%= offer['question_text'].html_safe %>
</td>
<td class="rto-td rto-nowrap">
<%= offer['question_closed_datetime'].split[0] %>
Expand Down

0 comments on commit d7e3ff2

Please sign in to comment.