]> git.0d.be Git - panikweb.git/commitdiff
remove legacy gallery application
authorFrédéric Péters <fpeters@0d.be>
Thu, 11 Jun 2020 09:19:55 +0000 (11:19 +0200)
committerFrédéric Péters <fpeters@0d.be>
Thu, 11 Jun 2020 09:19:55 +0000 (11:19 +0200)
panikweb/settings.py
panikweb_templates/templates/combo/topik_menu_item.html [deleted file]

index ebfbc49970298dc215844eca417ab47cfeaa4aa3..49819ad66b4ac9fd667e0c7625888688d2746e9a 100644 (file)
@@ -170,7 +170,6 @@ INSTALLED_APPS = (
     'combo.apps.dashboard',
     'combo.apps.search',
     'panikombo',
     'combo.apps.dashboard',
     'combo.apps.search',
     'panikombo',
-    'gallery',
 )
 
 CKEDITOR_UPLOAD_PATH = os.path.join(MEDIA_ROOT, 'uploads')
 )
 
 CKEDITOR_UPLOAD_PATH = os.path.join(MEDIA_ROOT, 'uploads')
diff --git a/panikweb_templates/templates/combo/topik_menu_item.html b/panikweb_templates/templates/combo/topik_menu_item.html
deleted file mode 100644 (file)
index ff3b12b..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-{% load combo paniktags thumbnail %}
-<li class="item">
-  <div class="topik inline cf">
-    <a class="block cf topik-link" href="{{page.get_online_url}}">
-    <div class="logo">
-      {% with page|image_file as logo %}
-        {% if logo %}
-          {% thumbnail logo "60x60" crop="50% 25%" as im %}
-          <img alt="" width="60" height="60" src="{{im.url}}"/>
-          {% endthumbnail %}
-        {% elif page.picture %}
-          {% thumbnail page.picture "60x60" crop="50% 25%" as im %}
-          <img alt="" width="60" height="60" src="{{im.url}}"/>
-          {% endthumbnail %}
-        {% else %}
-          <img alt="" src="/static/img/sound.png" width="60" height="60">
-        {% endif %}
-      {% endwith %}
-    </div>
-    <div class="content">
-      <div class="title">
-        <h5 class="title">{{page.title}}</h5>
-      </div>
-      <div class="smooth metas">
-        <span class="categories">{{category}}</span>
-      </div>
-    </div>
-    </a>
-  </div>
-</li>