feat: remplace module Courses par Liste multi-listes nommées
Deploy HouseHub / deploy (push) Successful in 1s
Deploy HouseHub / deploy (push) Successful in 1s
- Nouveau module 'liste' : plusieurs listes nommées par espace famille - Tabs de navigation entre les listes + création/renommage/suppression inline - Migration automatique : existing pf_grocery_items → list_id=1 (Ma liste) - Schema: nouvelle table pf_lists, ajout list_id sur pf_grocery_items - Historique global partagé entre toutes les listes - Ancien module 'groceries' conservé pour compatibilité ascendante - Mise à jour settings.php, header.php, index.php, schema_family.sql Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
1a9d5d5d18
commit
8176fc4de0
@@ -109,11 +109,11 @@ if ($_has_custom_bg): ?>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (in_array('groceries', $mods)): ?>
|
||||
<a href="/groceries.php" class="pf-module-card">
|
||||
<?php if (in_array('liste', $mods)): ?>
|
||||
<a href="/liste.php" class="pf-module-card">
|
||||
<div class="pf-card-icon">🛒</div>
|
||||
<h3 class="pf-card-title"><?= tr('mod_groceries_name') ?></h3>
|
||||
<div class="pf-card-desc"><?= tr('mod_groceries_desc') ?></div>
|
||||
<h3 class="pf-card-title"><?= tr('mod_liste_name') ?></h3>
|
||||
<div class="pf-card-desc"><?= tr('mod_liste_desc') ?></div>
|
||||
<span class="pf-card-cta"><?= tr('cta_cart') ?></span>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
|
||||
Reference in New Issue
Block a user