Fix html escape in unshared warning (#2048)

This commit is contained in:
aignatov-bio 2019-09-11 16:33:31 +02:00 committed by GitHub
parent 40b5b2406b
commit 07b9091e23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -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>

View file

@ -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 inventorys 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 inventorys 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'