Skip to content

Commit

Permalink
Merge branch 'pepeche-#384_Event_name_to_env_var' into preprod
Browse files Browse the repository at this point in the history
  • Loading branch information
agallou committed Oct 22, 2023
2 parents 8c2c50f + 1923749 commit 7295518
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ DATABASE_URL="mysql://barometreuser:barometrepass@db/barometre?serverVersion=5.7
###< doctrine/doctrine-bundle ###

AFUP_GLOBAL_MENU_PREFIX="https://afup.org"
AFUP_GLOBAL_MENU_EVENT_LABEL="Event"
MIN_RESULT=5
2 changes: 1 addition & 1 deletion templates/base.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<body>
<div id="afup-global-menu">
<a href="https://afup.org" class="lien-entete">AFUP</a>
<a href="https://event.afup.org" class="lien-entete">Forum PHP 2023</a>
<a href="https://event.afup.org" class="lien-entete">{{ app.request.server.get('AFUP_GLOBAL_MENU_EVENT_LABEL') }}</a>
<a href="https://barometre.afup.org" class="lien-entete lien-entete__active">Baromètre</a>
<a href="http://www.planete-php.fr" class="lien-entete">Planète PHP</a>
<a href="https://pufa.afup.org" class="lien-entete">PUFA</a>
Expand Down

0 comments on commit 7295518

Please sign in to comment.