mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
fix migration 028, promoteurice repopulation, DB bootstrap
- Fix undefined $isExternalUrl in tfe.php (moved after assignment) - Disable PeerTube rendering in tfe.php entirely - Migration 028: drop banner_path from theses with proper view handling - Drop dependent views before column, recreate without banner_path - Remove broken 027_drop_banner_path.sql - Move 025_fix_oui_non_artefacts.sql and 021_peertube_settings.sql to applied/ - Add scripts/ensure-db.php to init fresh DB from schema.sql when missing - Update deploy justfile to run ensure-db.php before migrations - Fix promoteurice array repopulation in partage form: - Fix old() to return raw arrays (not json_encode) so callers can iterate - Handle jury_promoteur[] and jury_promoteur_ulb_name[] arrays properly
This commit is contained in:
@@ -95,7 +95,7 @@ if ($addMode && function_exists('old')) {
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<button type="button" class="btn btn--secondary admin-add-jury-btn"
|
||||
onclick="addJuryRow('jury-promoteur-interne-list', 'jury_promoteur', 'Promoteur·ice interne')">
|
||||
onclick="addJuryRow('jury-promoteur-interne-list', 'jury_promoteur[]', 'Promoteur·ice interne')">
|
||||
+ Ajouter un·e promoteur·ice interne
|
||||
</button>
|
||||
</fieldset>
|
||||
@@ -133,7 +133,7 @@ if ($addMode && function_exists('old')) {
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<button type="button" class="btn btn--secondary admin-add-jury-btn"
|
||||
onclick="addJuryRow('jury-promoteur-ulb-list', 'jury_promoteur_ulb_name', 'Promoteur·ice ULB')">
|
||||
onclick="addJuryRow('jury-promoteur-ulb-list', 'jury_promoteur_ulb_name[]', 'Promoteur·ice ULB')">
|
||||
+ Ajouter un·e promoteur·ice ULB
|
||||
</button>
|
||||
</fieldset>
|
||||
|
||||
Reference in New Issue
Block a user