diff --git a/qgis-app/templates/base/includes/detail_object.html b/qgis-app/templates/base/includes/detail_object.html index e1ae3a66..1ad9e4ab 100644 --- a/qgis-app/templates/base/includes/detail_object.html +++ b/qgis-app/templates/base/includes/detail_object.html @@ -7,8 +7,12 @@
{{ object_detail.description|md_to_html }}
Uploaded Date
{{ object_detail.upload_date|date:"d F Y" }}
+{% if object_detail.review_set.last.review_date and object_detail.approved%}
Approved Date
{{ object_detail.review_set.last.review_date|date:"d F Y"}}
+{% endif %} +
Modified Date
+
{{ object_detail.modified_date|date:"d F Y" }}
Creator
{{ object_detail.get_creator_name|title }}
{% if is_qlr %} diff --git a/qgis-app/templates/base/list.html b/qgis-app/templates/base/list.html index 6c5292b1..529ac62d 100644 --- a/qgis-app/templates/base/list.html +++ b/qgis-app/templates/base/list.html @@ -79,6 +79,7 @@

{% if title %}{{title}}{% else %}{% trans "All" %} {{ resource_name }}s{% en {% anchor_sort_arrow 'Creator' 'creator' order_by queries %} {% anchor_sort_arrow 'Upload Date' 'upload_date' order_by queries %} + {% anchor_sort_arrow 'Modified Date' 'modified_date' order_by queries %} @@ -105,6 +106,7 @@

{% if title %}{{title}}{% else %}{% trans "All" %} {{ resource_name }}s{% en {{ object.download_count }} {{ object.get_creator_name|title }} {{ object.upload_date|date:"d F Y" }} + {{ object.modified_date|date:"d F Y" }} {% if user.is_staff or user == style.creator %}   diff --git a/qgis-app/templates/base/list_galery.html b/qgis-app/templates/base/list_galery.html index 9c2f552f..5f230973 100644 --- a/qgis-app/templates/base/list_galery.html +++ b/qgis-app/templates/base/list_galery.html @@ -28,12 +28,12 @@ display: flex; align-items: center; justify-content: center; - height: 420px; + height: 380px; background-color: white; } img.image-demo { height: auto; - max-height: 100%; + max-height: 380px; width: auto; max-width: 100%; } @@ -78,6 +78,7 @@

{% if title %}{{title}}{% else %}{% trans "All" %} {{ resource_name }}s{% en + {% if object_list.first.style_type %}{% endif %} @@ -106,6 +107,7 @@

{{ object.get_creator_name|title }} | {{ object.upload_date|date:"d F Y" }} | {{ object.download_count }} downloads +

Modified Date: {{ object.modified_date|date:"d F Y" }}