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 ebfbc49..49819ad 100644 (file)
@@ -170,7 +170,6 @@ INSTALLED_APPS = (
     'combo.apps.dashboard',
     'combo.apps.search',
     'panikombo',
-    'gallery',
 )
 
 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>