Commit c4f5c5ae authored by Kevin Ditscheid's avatar Kevin Ditscheid

[TASK] Reintroduce the languagevisibility table to overlays, but make them readonly

parent c02ff6dd
......@@ -446,7 +446,7 @@ class FieldVisibilityUserFunction extends AbstractFormElement {
$content = '<table class="table table-striped table-hover">';
$content .= '<tr>' .
'<th >' . $this->getLLL('language') . '</th>' .
'<th >' . $this->getLLL('visibility_options') . '</th>' .
($isOverlay ? '' : '<th >' . $this->getLLL('visibility_options') . '</th>') .
'<th >' . $this->getLLL('visibility_currently') . '</th>' .
'<th>' . $this->getLLL('hastranslation') . '</th>' .
'<th>' . $this->getLLL('isshown') . '</th>' .
......@@ -477,7 +477,7 @@ class FieldVisibilityUserFunction extends AbstractFormElement {
$content .= '<tr>' .
'<td>' . $info['languageFlag'] . ' ' . $info['languageTitle'] . '</td>' .
'<td>' . $info['visibilityOptions'] . '</td>' .
($isOverlay ? '' : '<td>' . $info['visibilityOptions'] . '</td>') .
'<td>' . $info['visibilityCurrently'] . '</td>' .
'<td>' . $translationStatusIcon . '</td>' .
'<td>' . $visibilityStatusIcon . '</td>' .
......
......@@ -27,12 +27,6 @@
$tempColumnsElements = [
'tx_languagevisibility_visibility' => [
'exclude' => 1,
'displayCond' => [
'OR' => [
'FIELD:sys_language_uid:=:0',
'FIELD:sys_language_uid:=:',
],
],
'l10n_display' => 'hideDiff',
'label' => 'LLL:EXT:languagevisibility/Resources/Private/Language/locallang_db.xlf:pages.tx_languagevisibility_visibility',
'config' => [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment