Browse Source

Show warning about drafts

Jocelyn Delande 9 years ago
parent
commit
5746a42534
1 changed files with 11 additions and 1 deletions
  1. 11 1
      costs/templates/costs/document_detail.html

+ 11 - 1
costs/templates/costs/document_detail.html

@@ -28,7 +28,17 @@
 
 
 {% block content %}
-
+{% if document.type == document.TYPE_PLAN %}
+<div class="ui yellow icon message">
+      <i class="warning icon"></i>
+      <div class="content">
+        <p>
+          Ce document est un document de travail, exposant un scénario, et non
+un relevé.
+        </p>
+      </div>
+</div>
+{% endif %}
 <section class="ui row">
 <h2>Services proposés aux adhérents</h2>