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

Correction retour rapport #358

Merged
merged 5 commits into from
Mar 25, 2021
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
6 changes: 5 additions & 1 deletion .php_cs.dist
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ return PhpCsFixer\Config::create()
'psr0' => false,
'single_line_throw' => false,
'simplified_null_return' => false,
'yoda_style' => null,
'yoda_style' => [
'equal' => null,
'identical' => null,
'less_and_greater' => null,
],
])
;
8 changes: 8 additions & 0 deletions src/Afup/BarometreBundle/Resources/assets/js/charts.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@ $(document).ready(function () {
};
}

if ($(this).hasClass('evolution-line')) {
highChartConfig.series.forEach(function(item) {
item.marker = {
enabled: true
};
});
}

if ($(this).data('graph-datalabels-format')) {
highChartConfig.plotOptions.series.dataLabels = {
useHTML: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<meta property="og:url" content="{{ absolute_url('/report/'~campaignName) }}" />
<meta property="og:description" content="Les résultats du baromètre des salaires en PHP {{ campaignName }} sont disponibles. Consultez les résultats de l’enquête de référence pour le milieu PHP menée par l’AFUP et le JDN" />
<meta property="og:site_name" content="Baromètre des salaires - AFUP / JDN" />
<meta property="og:image" content="{{ grunt_asset('logos/logo-barometre-blanc.png') }}" />
{% endblock %}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<tbody>
{% for row in results %}
<tr>
<td>{{ row.containerEnvironmentUsage }}</td>
<td>{{ row.containerEnvironmentUsage|default("Non répondu") }}</td>
<td class="text-right">{{ row.nbResponse }}</td>
</tr>
{% endfor %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<table class="highchart" data-graph-container-before="1" data-graph-type="line" style="display:none">
<table class="highchart evolution-line" data-graph-container-before="1" data-graph-type="line" style="display:none">
<thead>
<tr>
<th>Salaire</th>
<th>Moyenne</th>
<th>10ème percentile</th>
<th>Médiane</th>
<th>90ème percentile</th>
<th data-graph-dash-style="shortdashdot">10ème percentile</th>
<th data-graph-dash-style="longdash">Médiane</th>
<th data-graph-dash-style="dot">90ème percentile</th>
</tr>
</thead>
<tbody>
Expand Down
Binary file modified web/report/2020/evolution_des_salaires.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified web/report/2020/evolution_des_salaires_plus_experimentes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.