fixed modal analysis name matrix
This commit is contained in:
@@ -136,14 +136,9 @@ $matrixGroups = array_values($matrixGroups);
|
|||||||
<button type="button"
|
<button type="button"
|
||||||
class="list-group-item list-group-item-action analysis-matrix-item <?= $index === 0 ? 'active' : '' ?>"
|
class="list-group-item list-group-item-action analysis-matrix-item <?= $index === 0 ? 'active' : '' ?>"
|
||||||
data-matrix-id="<?= htmlspecialchars((string)($group['idmatrice'] ?? 'NO_MATRIX'), ENT_QUOTES, 'UTF-8') ?>">
|
data-matrix-id="<?= htmlspecialchars((string)($group['idmatrice'] ?? 'NO_MATRIX'), ENT_QUOTES, 'UTF-8') ?>">
|
||||||
<div class="fw-semibold">
|
<div class="fw-semibold analysis-matrix-name"
|
||||||
<?= htmlspecialchars(
|
data-matrix-id="<?= htmlspecialchars((string)($group['idmatrice'] ?? 'NO_MATRIX'), ENT_QUOTES, 'UTF-8') ?>">
|
||||||
!empty($group['NomeMatriceTraduzione'])
|
<?= !empty($group['idmatrice']) ? ('#' . (int)$group['idmatrice']) : 'No Matrix' ?>
|
||||||
? $group['NomeMatriceTraduzione']
|
|
||||||
: (!empty($group['idmatrice']) ? ('Matrix without translation') : 'No Matrix'),
|
|
||||||
ENT_QUOTES,
|
|
||||||
'UTF-8'
|
|
||||||
) ?>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="small text-muted">
|
<div class="small text-muted">
|
||||||
ID: <?= !empty($group['idmatrice']) ? (int)$group['idmatrice'] : '-' ?>
|
ID: <?= !empty($group['idmatrice']) ? (int)$group['idmatrice'] : '-' ?>
|
||||||
@@ -193,14 +188,9 @@ $matrixGroups = array_values($matrixGroups);
|
|||||||
|
|
||||||
<div class="small text-muted mt-1">
|
<div class="small text-muted mt-1">
|
||||||
Matrix:
|
Matrix:
|
||||||
<strong>
|
<strong class="analysis-part-matrix-name"
|
||||||
<?= htmlspecialchars(
|
data-matrix-id="<?= htmlspecialchars($matrixId, ENT_QUOTES, 'UTF-8') ?>">
|
||||||
!empty($part['NomeMatriceTraduzione'])
|
<?= !empty($part['idmatrice']) ? ('#' . (int)$part['idmatrice']) : 'No Matrix' ?>
|
||||||
? $part['NomeMatriceTraduzione']
|
|
||||||
: (!empty($part['idmatrice']) ? 'Matrix without translation' : 'No Matrix'),
|
|
||||||
ENT_QUOTES,
|
|
||||||
'UTF-8'
|
|
||||||
) ?>
|
|
||||||
</strong>
|
</strong>
|
||||||
<?php if (!empty($part['idmatrice'])): ?>
|
<?php if (!empty($part['idmatrice'])): ?>
|
||||||
<span class="small text-muted">(ID: <?= (int)$part['idmatrice'] ?>)</span>
|
<span class="small text-muted">(ID: <?= (int)$part['idmatrice'] ?>)</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user