From 7fb31da92ffb02ee54fb6019e5668e60d23cc84f Mon Sep 17 00:00:00 2001
From: Sarra <sarra.ouelhadj@gmail.com>
Date: Wed, 24 Aug 2022 11:17:13 +0200
Subject: [PATCH] move template + notice to static/doc folder

---
 YKWIM/static/{ => doc}/notice.pdf | Bin
 YKWIM/templates/index.html        |   4 ++--
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename YKWIM/static/{ => doc}/notice.pdf (100%)

diff --git a/YKWIM/static/notice.pdf b/YKWIM/static/doc/notice.pdf
similarity index 100%
rename from YKWIM/static/notice.pdf
rename to YKWIM/static/doc/notice.pdf
diff --git a/YKWIM/templates/index.html b/YKWIM/templates/index.html
index 0c4c3b4..a9b5499 100644
--- a/YKWIM/templates/index.html
+++ b/YKWIM/templates/index.html
@@ -32,7 +32,7 @@
                         <i class="bi bi-question-circle-fill"></i>
                     </button>
                     <ul class="dropdown-menu">
-                        <li><a class="dropdown-item" href="{{url_for('static',filename='notice.pdf')}}" target=”_blank”>Aide Template</a></li>
+                        <li><a class="dropdown-item" href="{{url_for('static',filename='doc/notice.pdf')}}" target=”_blank”>Aide Template</a></li>
                         <li><a class="dropdown-item" href="">Exemples de vocabulaires partagés</a></li>
                     </ul>
                 </div>
@@ -51,7 +51,7 @@
                     <div class="col-8">
                         <div class="row pt-3">
                             <div class="col-8 offset-7">
-                                <a href="{{url_for('getDocumentLink',document_link='template.ods')}}">
+                                <a href="{{url_for('static',filename='doc/template.ods')}}">
                                     <img src="{{url_for('static',filename='/img/spreadsheet.ico')}}" alt="Lien de téléchargement du Template" class="img-thumbnail img-fluid col-2">
                                 </a>
                             </div>
-- 
GitLab