Skip to content

Commit 35c35a9

Browse files
Merge pull request #358 from afup/correction-retour-rapport
Correction retour rapport
2 parents 542f632 + bf7835a commit 35c35a9

File tree

7 files changed

+19
-6
lines changed

7 files changed

+19
-6
lines changed

.php_cs.dist

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ return PhpCsFixer\Config::create()
2323
'psr0' => false,
2424
'single_line_throw' => false,
2525
'simplified_null_return' => false,
26-
'yoda_style' => null,
26+
'yoda_style' => [
27+
'equal' => null,
28+
'identical' => null,
29+
'less_and_greater' => null,
30+
],
2731
])
2832
;

src/Afup/BarometreBundle/Resources/assets/js/charts.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@ $(document).ready(function () {
6262
};
6363
}
6464

65+
if ($(this).hasClass('evolution-line')) {
66+
highChartConfig.series.forEach(function(item) {
67+
item.marker = {
68+
enabled: true
69+
};
70+
});
71+
}
72+
6573
if ($(this).data('graph-datalabels-format')) {
6674
highChartConfig.plotOptions.series.dataLabels = {
6775
useHTML: true,

src/Afup/BarometreBundle/Resources/views/Campaign/report2020.html.twig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<meta property="og:url" content="{{ absolute_url('/report/'~campaignName) }}" />
1010
<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" />
1111
<meta property="og:site_name" content="Baromètre des salaires - AFUP / JDN" />
12+
<meta property="og:image" content="{{ grunt_asset('logos/logo-barometre-blanc.png') }}" />
1213
{% endblock %}
1314

1415

src/Afup/BarometreBundle/Resources/views/Report/container_environment_report.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<tbody>
1212
{% for row in results %}
1313
<tr>
14-
<td>{{ row.containerEnvironmentUsage }}</td>
14+
<td>{{ row.containerEnvironmentUsage|default("Non répondu") }}</td>
1515
<td class="text-right">{{ row.nbResponse }}</td>
1616
</tr>
1717
{% endfor %}

src/Afup/BarometreBundle/Resources/views/Report/salary_evolution.html.twig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
<table class="highchart" data-graph-container-before="1" data-graph-type="line" style="display:none">
1+
<table class="highchart evolution-line" data-graph-container-before="1" data-graph-type="line" style="display:none">
22
<thead>
33
<tr>
44
<th>Salaire</th>
55
<th>Moyenne</th>
6-
<th>10ème percentile</th>
7-
<th>Médiane</th>
8-
<th>90ème percentile</th>
6+
<th data-graph-dash-style="shortdashdot">10ème percentile</th>
7+
<th data-graph-dash-style="longdash">Médiane</th>
8+
<th data-graph-dash-style="dot">90ème percentile</th>
99
</tr>
1010
</thead>
1111
<tbody>
18.4 KB
Loading
Loading

0 commit comments

Comments
 (0)