Fix issue where localizaed text was not being correctly set
This commit is contained in:
parent
842abbd986
commit
49d6db7813
3 changed files with 8 additions and 2 deletions
|
@ -1 +1 @@
|
|||
Subproject commit 7237ccf8d08ea4afaae374def59360671b01ace0
|
||||
Subproject commit af8b98937d8445419fa580ffe41738ca832c2ad1
|
|
@ -1549,6 +1549,10 @@ Logic.registerPanel(P_CONTAINER_ASSIGNMENTS, {
|
|||
async prepare() {
|
||||
const identity = Logic.currentIdentity();
|
||||
|
||||
const editContainerAssignments = document.getElementById("edit-container-assignments");
|
||||
const editSitesAssignedSubheader = editContainerAssignments.querySelector(".sub-header");
|
||||
editSitesAssignedSubheader.textContent = browser.i18n.getMessage("sitesAssignedToThisContainer");
|
||||
|
||||
// Populating the panel: name and icon
|
||||
document.getElementById("edit-assignments-title").textContent = identity.name;
|
||||
|
||||
|
|
|
@ -385,7 +385,9 @@
|
|||
<button class="btn-return arrow-left controller" id="close-container-assignment-panel"></button>
|
||||
<hr>
|
||||
<div class="scrollable edit-sites-assigned">
|
||||
<div class="sub-header" data-i18n-attribute-message-id="sitesAssignedToThisContainer"></div>
|
||||
<div class="sub-header-wrapper">
|
||||
<div class="sub-header" data-i18n-attribute-message-id="sitesAssignedToThisContainer"></div>
|
||||
</div>
|
||||
<table class="menu scrollable" id="edit-sites-assigned">
|
||||
<tr class="menu-item hover-highlight" tabindex="0">
|
||||
<td>
|
||||
|
|
Loading…
Add table
Reference in a new issue