-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into tests_migration_clever_cloud
- Loading branch information
Showing
61 changed files
with
356 additions
and
912 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{% extends ':site:base.html.twig' %} | ||
|
||
{% block title %}Plan du site de l'AFUP{% endblock %} | ||
|
||
{% macro list(items) %} | ||
<ul> | ||
{% for item in items %} | ||
<li><a href="{{ item.url }}">{{ item.name }}</a></li> | ||
{% endfor %} | ||
</ul> | ||
{% endmacro %} | ||
|
||
{% block content %} | ||
<div class="mw1400p center" id="container"> | ||
<div class="line" id="main"> | ||
<h1>Plan du site</h1> | ||
<div class="row"> | ||
<div class="col-md-6"> | ||
{{ _self.list(pages) }} | ||
|
||
<h2><a href="{{ path('become_member') }}">Adhérer à l'AFUP</a></h2> | ||
<ul> | ||
<li><a href="{{ path('legacy_inscription') }}">Adhérer en tant que particulier</a></li> | ||
<li><a href="{{ path('company_membership') }}">Adhérer en tant qu'entreprise</a></li> | ||
<li><a href="{{ path('admin_login') }}">Se connecter</a></li> | ||
</ul> | ||
|
||
<h2><a href="{{ path('talks_list') }}">Historique des conférences</a></h2> | ||
{{ _self.list(talks) }} | ||
</div> | ||
<div class="col-md-6"> | ||
<h2>Association</h2> | ||
{{ _self.list(association) }} | ||
|
||
<h2><a href="{{ path('company_public_profile_list') }}">Entreprises adhérentes</a></h2> | ||
{{ _self.list(members) }} | ||
|
||
<h2><a href="{{ path('news_list') }}">Actualités</a></h2> | ||
{{ _self.list(news) }} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
db/migrations/20240718093800_suppression_accreditation_presse.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
use Phinx\Migration\AbstractMigration; | ||
|
||
class SuppressionAccreditationPresse extends AbstractMigration | ||
{ | ||
public function change() | ||
{ | ||
$this->execute('DROP TABLE IF EXISTS afup_accreditation_presse'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
use Phinx\Migration\AbstractMigration; | ||
|
||
class SuppressionBlacklist extends AbstractMigration | ||
{ | ||
public function change() | ||
{ | ||
$this->execute('DROP TABLE IF EXISTS afup_blacklist'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
use Phinx\Migration\AbstractMigration; | ||
|
||
class CotisationType extends AbstractMigration | ||
{ | ||
public function change() | ||
{ | ||
// avant on était en float(5,2) unsigned | ||
$this->execute("ALTER TABLE afup_cotisations MODIFY montant float(6,2) unsigned NOT NULL DEFAULT '0.00'"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.