From fcce8bd98cc0cf7e2edc3b6c21d21d8a6cfd9c15 Mon Sep 17 00:00:00 2001 From: clemkeirua Date: Tue, 12 Feb 2019 17:18:53 +0100 Subject: [PATCH] affichage de la surface cadastrale dans les cartes --- app/assets/stylesheets/new_design/common.scss | 5 +++++ app/views/shared/champs/carte/_geo_areas.html.haml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/new_design/common.scss b/app/assets/stylesheets/new_design/common.scss index e3b9975af..9e3d6a09f 100644 --- a/app/assets/stylesheets/new_design/common.scss +++ b/app/assets/stylesheets/new_design/common.scss @@ -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; diff --git a/app/views/shared/champs/carte/_geo_areas.html.haml b/app/views/shared/champs/carte/_geo_areas.html.haml index b2a990f8d..09f326d1b 100644 --- a/app/views/shared/champs/carte/_geo_areas.html.haml +++ b/app/views/shared/champs/carte/_geo_areas.html.haml @@ -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} m2 - if champ.parcelles_agricoles? .areas-title Parcelles agricoles (RPG)