From 532febf241be1162133139b872830fe4ad38d33d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Beno=C3=AEt?= <b.charpentier@webu.coop>
Date: Fri, 20 Jan 2017 15:56:58 +0100
Subject: [PATCH] renommage des fichiers list_item

---
 newsbox/templates/newsbox/inc/list.html                         | 2 +-
 .../templates/newsbox/inc/{list-item.html => list_item.html}    | 0
 .../newsbox_cms/inc/{list-item.html => list_item.html}          | 2 +-
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename newsbox/templates/newsbox/inc/{list-item.html => list_item.html} (100%)
 rename newsbox_cms/templates/newsbox_cms/inc/{list-item.html => list_item.html} (95%)

diff --git a/newsbox/templates/newsbox/inc/list.html b/newsbox/templates/newsbox/inc/list.html
index 69a49a6..2f0cf7d 100644
--- a/newsbox/templates/newsbox/inc/list.html
+++ b/newsbox/templates/newsbox/inc/list.html
@@ -59,7 +59,7 @@
 
                 {% for object in object_list %}
                     {% block newsbox_list_item %}
-                        {% include model_opts.app_label|add:'/inc/'|add:model_opts.model_name|add:'-list-item.html' %}
+                        {% include model_opts.app_label|add:'/inc/'|add:model_opts.model_name|add:'_list_item.html' %}
                     {% endblock %}
                 {% endfor %}
 
diff --git a/newsbox/templates/newsbox/inc/list-item.html b/newsbox/templates/newsbox/inc/list_item.html
similarity index 100%
rename from newsbox/templates/newsbox/inc/list-item.html
rename to newsbox/templates/newsbox/inc/list_item.html
diff --git a/newsbox_cms/templates/newsbox_cms/inc/list-item.html b/newsbox_cms/templates/newsbox_cms/inc/list_item.html
similarity index 95%
rename from newsbox_cms/templates/newsbox_cms/inc/list-item.html
rename to newsbox_cms/templates/newsbox_cms/inc/list_item.html
index a370a5b..db64463 100644
--- a/newsbox_cms/templates/newsbox_cms/inc/list-item.html
+++ b/newsbox_cms/templates/newsbox_cms/inc/list_item.html
@@ -1,4 +1,4 @@
-{% extends "newsbox/inc/list-item.html" %}
+{% extends "newsbox/inc/list_item.html" %}
 {% load i18n cms_tags %}
 
 {% block newsbox_list_item_header %}
-- 
GitLab