Skip to content

Commit

Permalink
Merge pull request #358 from afup/correction-retour-rapport
Browse files Browse the repository at this point in the history
Correction retour rapport
  • Loading branch information
BenoitLeveque authored Mar 25, 2021
2 parents 542f632 + bf7835a commit 35c35a9
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 6 deletions.
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.

0 comments on commit 35c35a9

Please sign in to comment.