Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Amélioration indexation google #1582

Merged
merged 10 commits into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions app/Resources/TwigBundle/views/Exception/error404.html.twig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{% extends ':site:base.html.twig' %}

{% block title %}Page 404{% endblock %}

{% set header = "" %}
{% set footer = "" %}

{% block content %}
<div class="mw1400p center" id="container">
<div class="line" id="main">
<h1>Page 404 ;-(</h1>

<p>
Vous pouvez <a href="{{ path('home') }}">retourner à l'accueil du site</a>.
</p>
</div>
</div>
{% endblock %}
5 changes: 3 additions & 2 deletions app/Resources/translations/messages.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,9 @@ type.1: '40 mn'
type.2: Workshop
type.3: '20 mn'
'Ce commentaire a été déposé par un membre du staff': 'This comment was filed by a member of staff'
'Le code de conduite est <a href="http://event.afup.org/code-de-conduite/" target="_blank">disponible en ligne</a>.': 'The code of conduct is <a href="http://event.afup.org/code-de-conduite/?lang=en" target="_blank">available online</a>.'
'En tant que conférencier, j''accepte d''être filmé et photographié gratuitement au profit exclusif de l''AFUP, pour diffusion sur internet ou sur tout autre support de communication diffusé notamment en Europe, pour une durée de 10 ans après ma conférence.': 'As a speaker, I agree to be filmed and photographed free of charge for the exclusive benefit of AFUP, for distribution on the Internet or on any other communication medium distributed in particular in Europe, for a period of 10 years after my conference.'
code_of_conduct_warning: |
The code of conduct is <a href="https://afup.org/p/985-code-of-conduct" target="_blank">available online</a>.<br />
As a speaker, I agree to be filmed and photographed free of charge for the exclusive benefit of AFUP, for distribution on the Internet or on any other communication medium distributed in particular in Europe, for a period of 10 years after my conference.
Phone: Phone
Position: Position
Language: Language
Expand Down
5 changes: 4 additions & 1 deletion app/Resources/translations/messages.fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,4 +218,7 @@ certification_lead.info: |
</p>
sponsor.qr_code_scanner.disclaimer: Merci de valider que la personne accepte que vous scanniez son badge !
sponsor.qr_code_scanner.valid_code: Code valide ! Patientez...
sponsor.qr_code_scanner.invalid_code: QR Code incorrect !
sponsor.qr_code_scanner.invalid_code: QR Code incorrect !
code_of_conduct_warning: |
Le code de conduite est <a href="https://afup.org/p/986-code-de-conduite" target="_blank">disponible en ligne</a> tout comme les <a href="https://event.afup.org/condition-generales-de-participation/" target="_blank">Conditions Générales de Participation</a>.<br />
En tant que conférencier, j'accepte d'être filmé et photographié gratuitement au profit exclusif de l'AFUP, pour diffusion sur internet ou sur tout autre support de communication diffusé notamment en Europe, pour une durée de 10 ans après ma conférence.
4 changes: 2 additions & 2 deletions app/Resources/views/admin/base_with_header.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@
<div class="ui menu asd borderless">
<div class="right menu">
<div class="item">
<a class="ui button" href="/">Retour site</a>
<a class="ui button" href="{{ path('home') }}">Retour site</a>
</div>
<div class="item">
<a class="ui button" href="/admin/logout">Se déconnecter</a>
<a class="ui button" href="{{ path('admin_logout') }}">Se déconnecter</a>
</div>
</div>
</div>
Expand Down
7 changes: 5 additions & 2 deletions app/Resources/views/base.html.twig
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
<!doctype html>
<html lang="fr">
<html lang="{{ app.request.locale }}">
<head>
{% block metas %}
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=yes, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
{% endblock %}
{% block canonical %}
<link rel="canonical" href="{{ url(app.request.attributes.get('_route'), app.request.attributes.get('_route_params')) }}" />
{% endblock %}
<title>{% block title %}Afup{% endblock %}</title>
{% block stylesheets %}
<link rel="stylesheet" href="{{ asset('/templates/site/css/styles.css') }}">
Expand All @@ -28,7 +31,7 @@
<a href="https://afup.org" class="lien-entete lien-entete__active" tabindex="-1">AFUP</a>
<a href="https://event.afup.org" class="lien-entete" tabindex="-1">AFUP Day 2025</a>
<a href="https://barometre.afup.org" class="lien-entete" tabindex="-1">Baromètre</a>
<a href="http://www.planete-php.fr" class="lien-entete" tabindex="-1">Planète PHP</a>
<a href="https://www.planete-php.fr" class="lien-entete" tabindex="-1">Planète PHP</a>
<a href="https://pufa.afup.org" class="lien-entete" tabindex="-1">PUFA</a>
</div>
{% block header '' %}
Expand Down
3 changes: 1 addition & 2 deletions app/Resources/views/event/cfp/edit.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
<h3>{{ 'Nouvelle proposition'|trans }}</h3>
{% endif %}
{{ form(form) }}
<p>* {{ 'Le code de conduite est <a href="http://event.afup.org/code-de-conduite/" target="_blank">disponible en ligne</a> tout comme les <a href="https://event.afup.org/condition-generales-de-participation/">Conditions Générales de Participation</a>.'|trans|raw }}
{{ 'En tant que conférencier, j\'accepte d\'être filmé et photographié gratuitement au profit exclusif de l\'AFUP, pour diffusion sur internet ou sur tout autre support de communication diffusé notamment en Europe, pour une durée de 10 ans après ma conférence.'|trans }}</p>
<p>* {{ 'code_of_conduct_warning'|trans }}</p>
<p>{{ "Vous pouvez éditer votre proposition jusqu'à la fin du CFP."|trans }}</p>
<h3>{{ 'Conférenciers'|trans }}</h3>
<ul>
Expand Down
3 changes: 1 addition & 2 deletions app/Resources/views/event/cfp/propose.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
<h3>{{ 'Nouvelle proposition'|trans }}</h3>
{% endif %}
{{ form(form) }}
<p>* {{ 'Le code de conduite est <a href="http://event.afup.org/code-de-conduite/" target="_blank">disponible en ligne</a> tout comme les <a href="https://event.afup.org/condition-generales-de-participation/">Conditions Générales de Participation</a>.'|trans|raw }}
{{ 'En tant que conférencier, j\'accepte d\'être filmé et photographié gratuitement au profit exclusif de l\'AFUP, pour diffusion sur internet ou sur tout autre support de communication diffusé notamment en Europe, pour une durée de 10 ans après ma conférence.'|trans }}</p>
<p>* {{ 'code_of_conduct_warning'|trans }}</p>
<p>** {{ 'Ces notes facultatives peuvent contenir des informations sur votre conférence que vous ne voudriez pas voir apparaitre sur le système de vote et dans le programme'|trans }}.</p>
</div>
{{ sidebar|raw }}
Expand Down
2 changes: 1 addition & 1 deletion app/Resources/views/event/vote/liste.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

<div style="clear:both; padding-top:50px;">
<p>{{ 'Les conférences vous sont présentées dans un ordre pseudo-aléatoire consistant pour l\'ensemble de votre session.'|trans }}</p>
<p><i>Icons made by <a href="http://www.freepik.com" title="Freepik">Freepik</a> from <a href="http://www.flaticon.com" title="Flaticon">www.flaticon.com</a> is licensed by <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a></i></p>
<p><i>Icons made by <a href="https://www.freepik.com" title="Freepik">Freepik</a> from <a href="http://www.flaticon.com" title="Flaticon">www.flaticon.com</a> is licensed by <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a></i></p>
</div>
{% endif %}
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/Resources/views/event/vote/talk.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</div>

<p class="event--vote-warning">
Attention, le <a href="http://coc.afup.org/">code de conduite de l’AFUP</a> s’applique à cet espace de votes.<br />
Attention, le <a href="https://coc.afup.org/" target="_blank">code de conduite de l’AFUP</a> s’applique à cet espace de votes.<br />
Les personnes soumettant les sujets ont accès aux notes et aux commentaires.
</p>

Expand Down
4 changes: 2 additions & 2 deletions app/Resources/views/mail/_base_mail.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
</tr>
<tr>
<td align="center" valign="top" bgcolor="#ffffff" class="header" style="border-collapse: collapse; border-left: 1px solid #d6d6d0; border-right: 1px solid #d6d6d0; padding: 15px 0 0; vertical-align: top;">
<a href="http://afup.org">
<img src="http://afup.org/templates/site/img/afup_logo_h100.png" alt="" style="-ms-interpolation-mode: bicubic; outline: none; text-decoration: none; max-width:404px;">
<a href="https://afup.org">
<img src="https://afup.org/templates/site/img/afup_logo_h100.png" alt="" style="-ms-interpolation-mode: bicubic; outline: none; text-decoration: none; max-width:404px;">
</a>
</td>
</tr>
Expand Down
75 changes: 2 additions & 73 deletions app/Resources/views/site/base.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
{% block title %}Afup - Association française des utilisateurs de PHP{% endblock %}

{% block stylesheets %}
<!--[if lt IE 9]><script src="{{ asset('templates/site/js/html5shiv.js') }}"></script><![endif]-->
<link href='https://fonts.googleapis.com/css?family=Podkova:400,700|Glegoo' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.4/css/all.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.4/css/v4-shims.css">
Expand Down Expand Up @@ -34,7 +33,7 @@
<a href="{{ path('become_member') }}" class="header-button header-button__become-member">Adhérer</a>
{% endif %}
</div>
<a href="/" id="logo">
<a href="{{ path('home') }}" id="logo">
<img src="{{ asset('templates/site/img/logo-afup.svg') }}" alt="AFUP: Association française des utilisateurs de PHP" />
<img src="{{ asset('templates/site/img/logo-afup-mobile.svg') }}" alt="AFUP: Association française des utilisateurs de PHP" class="mobile" />
</a>
Expand Down Expand Up @@ -76,77 +75,7 @@
<div class="mw1400p center">
<div class="container pre-footer">
<div class="col-md-1 tablet-hidden">
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 57.349499 64.00337"
xml:space="preserve"
version="1.1"
width="57.349499"
height="64.003372"
>
<g transform="matrix(1.25,0,0,-1.25,14.3375,40.279375)" style="fill:#ffffff">
<path d="m 0,0 0,0 -10.702,-6.178 c 0.496,-0.858 1.212,-1.587 2.1,-2.1 L 0,-13.244 0,0 Z" style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none" />
</g>
<g transform="matrix(1.25,0,0,-1.25,1.2e-4,32.001625)" style="fill:#ffffff">
<path d="m 0,0 0,-9.933 c 0,-1.025 0.273,-2.01 0.768,-2.868 L 11.47,-6.622 0,0 Z" style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none" />
</g>
<g transform="matrix(1.25,0,0,-1.25,14.3375,40.279375)" style="fill:#ffffff">
<path d="M 0,0 0,13.244 -11.47,6.622 0,0 Z" style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none" />
</g>
<g transform="matrix(1.25,0,0,-1.25,14.3375,56.834625)" style="fill:#ffffff">
<path d="M 0,0 0,0 8.602,-4.967 C 9.49,-5.479 10.48,-5.735 11.47,-5.735 l 0,12.357 L 0,0 Z" style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none" />
</g>
<g transform="matrix(1.25,0,0,-1.25,0.96062,16.000875)" style="fill:#ffffff">
<path d="m 0,0 c -0.495,-0.857 -0.768,-1.843 -0.768,-2.867 l 0,-9.934 11.47,6.622 L 0,0 Z" style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none" />
</g>
<g transform="matrix(1.25,0,0,-1.25,43.012,56.834625)" style="fill:#ffffff">
<path d="M 0,0 0,13.244 -11.47,6.622 0,0 Z" style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none" />
</g>
<g transform="matrix(1.25,0,0,-1.25,56.38887,48.002375)" style="fill:#ffffff">
<path d="m 0,0 c 0.495,0.857 0.768,1.843 0.768,2.867 l 0,9.934 L -10.701,6.178 0,0 Z" style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none" />
</g>
<g transform="matrix(1.25,0,0,-1.25,43.012,40.279375)" style="fill:#ffffff">
<path d="m 0,0 0,-13.244 8.602,4.966 c 0.888,0.513 1.604,1.242 2.099,2.1 L 0,0 Z" style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none" />
</g>
<g transform="matrix(1.25,0,0,-1.25,43.012,23.724)" style="fill:#ffffff">
<path d="M 0,0 0,0 0,-13.244 11.47,-6.622 0,0 Z" style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none" />
</g>
<g transform="matrix(1.25,0,0,-1.25,28.67475,48.556875)" style="fill:#ffffff">
<path d="m 0,0 0,-12.357 c 0.99,0 1.98,0.256 2.867,0.768 L 11.47,-6.622 0,0 Z" style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none" />
</g>
<g transform="matrix(1.25,0,0,-1.25,28.67475,15.446375)" style="fill:#ffffff">
<path d="m 0,0 -11.47,6.622 0,-13.244 L 0,0 Z" style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none" />
</g>
<g transform="matrix(1.25,0,0,-1.25,28.67475,15.446375)" style="fill:#ffffff">
<path d="m 0,0 11.47,-6.622 0,13.244 L 0,0 Z" style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none" />
</g>
<g transform="matrix(1.25,0,0,-1.25,0.96062,16.000875)" style="fill:#ffffff">
<path d="m 0,0 10.702,-6.179 0,13.245 L 2.099,2.099 C 1.212,1.587 0.495,0.857 0,0" style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none" />
</g>
<g transform="matrix(1.25,0,0,-1.25,43.012,23.724)" style="fill:#ffffff">
<path d="m 0,0 11.47,-6.622 0,9.933 c 0,1.024 -0.273,2.01 -0.769,2.867 L 0,0 Z" style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none" />
</g>
<g transform="matrix(1.25,0,0,-1.25,43.012,23.724)" style="fill:#ffffff">
<path d="M 0,0 10.701,6.178 C 10.206,7.036 9.49,7.765 8.602,8.278 L 0,13.244 0,0 Z" style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none" />
</g>
<g transform="matrix(1.25,0,0,-1.25,14.3375,40.279375)" style="fill:#ffffff">
<path d="m 0,0 11.47,-6.622 0,9.933 c 0,1.025 -0.273,2.01 -0.769,2.868 L 0,0 Z" style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none" />
</g>
<g transform="matrix(1.25,0,0,-1.25,14.3375,40.279375)" style="fill:#ffffff">
<path d="M 0,0 10.701,6.179 C 10.206,7.036 9.49,7.765 8.602,8.278 L 0,13.244 0,0 Z" style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none" />
</g>
<g transform="matrix(1.25,0,0,-1.25,43.012,7.16875)" style="fill:#ffffff">
<path d="M 0,0 -8.603,4.967 C -9.49,5.479 -10.48,5.735 -11.47,5.735 l 0,-12.357 L 0,0 Z" style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none" />
</g>
<g transform="matrix(1.25,0,0,-1.25,28.67475,15.446375)" style="fill:#ffffff">
<path d="m 0,0 0,12.357 c -0.99,0 -1.98,-0.256 -2.867,-0.768 L -11.47,6.622 0,0 Z" style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none" />
</g>
<g transform="matrix(1.25,0,0,-1.25,14.3375,56.834625)" style="fill:#ffffff">
<path d="M 0,0 11.47,6.622 0,13.244 0,0 Z" style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none" />
</g>
</svg>
<img src="{{ asset('templates/site/img/logo-afup-light.svg') }}" alt="" />
</div>
<div class="col-md-6 tablet-hidden">
<label class="pre-footer-newsletter-title" for="subscriber_email">Inscription à la newsletter</label>
Expand Down
4 changes: 2 additions & 2 deletions app/Resources/views/site/member/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
{% if user.canRequestSlackInvite %}
<a class="button-inverted button__medium button--call-to-action" href="{{ path('member_slack_invite') }}">Recevoir l'invitation</a>
{% elseif user.slackInviteRequested %}
<a class="button-inverted button__medium" href="http://afup-membres.slack.com/" target="afup-slack">Accéder</a>
<a class="button-inverted button__medium" href="https://afup-membres.slack.com/" target="afup-slack">Accéder</a>
{% endif %}
</div>
<div class="member-index-item--description">
Expand Down Expand Up @@ -233,7 +233,7 @@
Plusieurs façons de rester au fait des activités de l’association et ainsi, de profiter au mieux de votre adhésion :
<ul>
<li>La newsletter des activités de l’AFUP sort le premier mardi de chaque mois. Assurez-vous qu’elle ne parte pas dans vos spams ;</li>
<li>Visitez régulièrement <a href="/">notre site</a> ou vous abonner à <a href="/rss.xml">nos flux RSS</a> ;</li>
<li>Visitez régulièrement <a href="{{ path('home') }}">notre site</a> ou vous abonner à <a href="{{ path('feed_rss') }}">nos flux RSS</a> ;</li>
<li>Nous suivre sur les réseaux sociaux <a href="https://twitter.com/afup">Twitter</a> et/ou <a href="https://mastodon.online/@afup">Mastodon</a> ; </li>
<li>Consulter la <a href="/association/antennes">liste des antennes</a> afin de suivre leur activité.</li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion app/Resources/views/site/superapero.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
</div>
{% if apero.meetup_id is defined %}
<div class="col-md-4">
<a href="http://www.meetup.com/fr-FR/{{ office_meetup_urlname(apero.code) }}/events/{{ apero.meetup_id }}/" class="button">S'inscrire</a>
<a href="https://www.meetup.com/fr-FR/{{ office_meetup_urlname(apero.code) }}/events/{{ apero.meetup_id }}/" class="button">S'inscrire</a>
</div>
{% endif %}
</div>
Expand Down
Loading