From 7e9000e1e4edcb47672c339415a55005cc043f61 Mon Sep 17 00:00:00 2001 From: Maciej Strzelczyk Date: Mon, 18 Jun 2018 18:52:32 +0200 Subject: [PATCH] More or less fixed collections list for mobile. --- .../collections/collection_list.html | 47 ++++++++++++++----- 1 file changed, 34 insertions(+), 13 deletions(-) diff --git a/palanaeum/templates/palanaeum/collections/collection_list.html b/palanaeum/templates/palanaeum/collections/collection_list.html index 25c68ee..d70a4a4 100644 --- a/palanaeum/templates/palanaeum/collections/collection_list.html +++ b/palanaeum/templates/palanaeum/collections/collection_list.html @@ -16,11 +16,11 @@ - + - - - + + + {% for collection in collections %} - - - - + + + - - + {% trans 'Delete' %} + + + {% endfor %}
{% trans 'No.' %}{% trans 'No.' %} {% trans 'Name' %}{% trans 'Entries' %}{% trans 'Type' %}{% trans 'Entries' %}{% trans 'Type' %}{% trans 'Edit' %} Add new @@ -31,27 +31,48 @@
{{ forloop.counter }}{{ collection.name|truncatechars_html:80 }}
{{ collection.description|safe|truncatewords_html:100 }}
{{ collection.entries.all.count }} + {{ forloop.counter }} + + {% if collection.public %} + + {% else %} + + {% endif %} + + + {{ collection.name|truncatechars_html:80 }} +
+ {{ collection.description|safe|truncatewords_html:100 }} +
{{ collection.entries.all.count }} {% if collection.public %} {% else %} {% endif %} + - {% trans 'Edit' %} + {% trans 'Edit' %} + - {% trans 'Delete' %} - + + +

+ + + +