mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-09 06:35:37 +08:00
Fix html escape in unshared warning (#2048)
This commit is contained in:
parent
40b5b2406b
commit
07b9091e23
2 changed files with 5 additions and 5 deletions
|
@ -8,12 +8,12 @@
|
|||
|
||||
<div id="content">
|
||||
<div class="content-pane">
|
||||
<h4><%= t("my_modules.unshared_inventory.title", inventory_name: @inventory.name).html_safe %></h4>
|
||||
<%= t("my_modules.unshared_inventory.body",
|
||||
<h4><%= t("my_modules.unshared_inventory.title_html", inventory_name: @inventory.name) %></h4>
|
||||
<%= t("my_modules.unshared_inventory.body_html",
|
||||
inventory_name: @inventory.name,
|
||||
team_name: @inventory.team.name,
|
||||
admin_name: @inventory_admin.name,
|
||||
admin_email: @inventory_admin.email).html_safe %>
|
||||
admin_email: @inventory_admin.email) %>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -758,8 +758,8 @@ en:
|
|||
unassign_title: "Unassign %{repository_name} items from task %{my_module_name}"
|
||||
unassign_message: "Do you want to unassign %{size} items only from this task, or unassign them from this task & downstream tasks in the workflow as well?"
|
||||
unshared_inventory:
|
||||
title: The inventory <b>%{inventory_name}</b> is no longer shared with your team.
|
||||
body: This inventory has been ushared with your team by the inventory’s owner. To view the item/s that are assigned to your task/s contact the <b>%{team_name}</b> team administrator <b>%{admin_name}</b> (<b>%{admin_email}</b>).
|
||||
title_html: The inventory <b>%{inventory_name}</b> is no longer shared with your team.
|
||||
body_html: This inventory has been ushared with your team by the inventory’s owner. To view the item/s that are assigned to your task/s contact the <b>%{team_name}</b> team administrator <b>%{admin_name}</b> (<b>%{admin_email}</b>).
|
||||
experiments:
|
||||
new:
|
||||
create: 'New Experiment'
|
||||
|
|
Loading…
Add table
Reference in a new issue