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:
Frederic Merizen 2019-02-14 11:03:31 +01:00 committed by GitHub
commit 4e32f9da1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -53,6 +53,11 @@ strong {
font-weight: bold;
}
sup {
vertical-align: super;
font-size: 0.83em;
}
.container {
@include horizontal-padding($default-padding);
max-width: $page-width + 2 * $default-padding;

View file

@ -24,7 +24,7 @@
- else
%ul
- 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?
.areas-title Parcelles agricoles (RPG)