Redesign - popravki napak - gdpr tabela

This commit is contained in:
pero1203 2022-05-26 11:37:14 +02:00
parent 2f2f177503
commit 0c3513b06b
4 changed files with 5 additions and 16 deletions

View File

@ -522,7 +522,7 @@ class GDPR{
echo '<td>'.$row['u_name'].' '.$row['u_surname'].'<br />('.$row['u_email'].')</td>';
// Odgovorna oseba
echo '<td style="text-align:left; white-space:nowrap;">';
echo '<td style="text-align:left;">';
if($row['gu_firstname'] != '' || $row['gu_lastname'] != '' || $row['gu_email'] != '')
echo '<span class="bold">'.$lang['srv_gdpr_user_settings_firstname'].':</span> '.$row['gu_firstname'].' '.$row['gu_lastname'].($row['gu_email'] != '' ? ' ('.$row['gu_email'].')' : '').'<br />';
if($row['gu_phone'] != '')
@ -532,7 +532,7 @@ class GDPR{
echo '</td>';
// Organizacija
echo '<td style="text-align:left; white-space:nowrap;">';
echo '<td style="text-align:left;">';
if($row['gu_type'] == '1'){
if($row['gu_organization'] != '')
echo '<span class="bold">'.$lang['srv_gdpr_user_settings_organization'].':</span> '.$row['gu_organization'].'<br />';
@ -619,7 +619,7 @@ class GDPR{
echo '<td>'.$row['u_name'].' '.$row['u_surname'].'<br />('.$row['u_email'].')</td>';
// Odgovorna oseba
echo '<td style="text-align:left; white-space:nowrap;">';
echo '<td style="text-align:left;">';
if($row['gu_firstname'] != '' || $row['gu_lastname'] != '' || $row['gu_email'] != '')
echo '<span class="bold">'.$lang['srv_gdpr_user_settings_firstname'].':</span> '.$row['gu_firstname'].' '.$row['gu_lastname'].($row['gu_email'] != '' ? ' ('.$row['gu_email'].')' : '').'<br />';
if($row['gu_phone'] != '')
@ -629,7 +629,7 @@ class GDPR{
echo '</td>';
// Organizacija
echo '<td style="text-align:left; white-space:nowrap;">';
echo '<td style="text-align:left;">';
if($row['gu_type'] == '1'){
if($row['gu_organization'] != '')
echo '<span class="bold">'.$lang['srv_gdpr_user_settings_organization'].':</span> '.$row['gu_organization'].'<br />';

View File

@ -560,10 +560,8 @@ class CrossRoad {
# GDPR
case 'gdpr':
if ($_GET['m'] == 'gdpr_requests')
if ($_GET['m'] == 'gdpr_requests' || $_GET['m'] == 'gdpr_requests_all')
$layout_width = 'wide';
elseif ($_GET['m'] == 'gdpr_requests_all')
$layout_width = 'fullscreen';
else
$layout_width = 'narrow';

View File

@ -10735,10 +10735,6 @@ table.gdpr_surveys {
table-layout: fixed;
width: 100%;
}
table.gdpr_surveys.all {
width: calc(100% - 64px);
margin: 0 32px;
}
table.gdpr_surveys tr.red_row td {
background-color: #FFEFEF !important;
}

View File

@ -5,11 +5,6 @@ table {
table-layout: fixed;
width: 100%;
&.all{
width: calc(100% - 64px);
margin: 0 32px;
}
tr.red_row {
td {
background-color: $light-red !important;