Skip to content

Commit c46a486

Browse files
committed
fix: espansione informazioni aggiuntive articoli
1 parent 9cf4b9f commit c46a486

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

modules/articoli/add.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,15 @@
6363
</div>
6464
</div>
6565

66-
<div class="card card-info collapsed-card">
66+
<?php
67+
$espandi_dettagli = setting('Espandi automaticamente la sezione "Dettagli aggiuntivi"');
68+
?>
69+
<div class="card card-info <?php echo empty($espandi_dettagli) ? 'collapsed-card' : ''; ?>">
6770
<div class="card-header with-border">
6871
<h3 class="card-title"><?php echo tr('Informazioni aggiuntive'); ?></h3>
6972
<div class="card-tools pull-right">
7073
<button type="button" class="btn btn-tool" data-card-widget="collapse">
71-
<i class="fa fa-plus"></i>
74+
<i class="fa fa-<?php echo empty($espandi_dettagli) ? 'plus' : 'minus'; ?>"></i>
7275
</button>
7376
</div>
7477
</div>

0 commit comments

Comments
 (0)