Merge pull request #3422 from Keirua/feat/afficher-surfaces-avec-plan-cadastral
Affichage de la surface cadastrale dans les cartes
This commit is contained in:
commit
4e32f9da1d
2 changed files with 6 additions and 1 deletions
|
@ -53,6 +53,11 @@ strong {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sup {
|
||||||
|
vertical-align: super;
|
||||||
|
font-size: 0.83em;
|
||||||
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
@include horizontal-padding($default-padding);
|
@include horizontal-padding($default-padding);
|
||||||
max-width: $page-width + 2 * $default-padding;
|
max-width: $page-width + 2 * $default-padding;
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
- else
|
- else
|
||||||
%ul
|
%ul
|
||||||
- champ.cadastres.each do |pc|
|
- champ.cadastres.each do |pc|
|
||||||
%li Parcelle n° #{pc.numero} - Feuille #{pc.code_arr} #{pc.section} #{pc.feuille}
|
%li Parcelle n° #{pc.numero} - Feuille #{pc.code_arr} #{pc.section} #{pc.feuille} - #{pc.surface_parcelle.round} m<sup>2</sup>
|
||||||
|
|
||||||
- if champ.parcelles_agricoles?
|
- if champ.parcelles_agricoles?
|
||||||
.areas-title Parcelles agricoles (RPG)
|
.areas-title Parcelles agricoles (RPG)
|
||||||
|
|
Loading…
Reference in a new issue