aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/referential_lines/show.html.slim5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/referential_lines/show.html.slim b/app/views/referential_lines/show.html.slim
index 309331efc..801aebb28 100644
--- a/app/views/referential_lines/show.html.slim
+++ b/app/views/referential_lines/show.html.slim
@@ -1,7 +1,10 @@
- text_color = @line.text_color.blank? ? "black" : "##{@line.text_color}"
- bg_color = @line.color.blank? ? "white" : "##{@line.color}"
-= title_tag t('lines.show.title', line: @line.name)
+h2
+ = t('lines.show.title', line: @line.name)
+ - if @line.deactivated?
+ small = " (désactivé)"
.line_show
= @map.to_html