diff --git a/geonode/groups/templates/groups/_group_profile_list_item.html b/geonode/groups/templates/groups/_group_profile_list_item.html new file mode 100644 index 00000000000..bf2fdd8ae2e --- /dev/null +++ b/geonode/groups/templates/groups/_group_profile_list_item.html @@ -0,0 +1,30 @@ +{% verbatim %} +
+
+
+
+ +
+
+
+ +

{{ group.group_profile.description | limitTo: 100 }}{{ group.group_profile.description.length > 100 ? '...' : ''}}

+
+ +
+
+{% endverbatim %} \ No newline at end of file diff --git a/geonode/groups/templates/groups/groupcategory_detail.html b/geonode/groups/templates/groups/groupcategory_detail.html index fbbdebb9397..0c3c615f625 100644 --- a/geonode/groups/templates/groups/groupcategory_detail.html +++ b/geonode/groups/templates/groups/groupcategory_detail.html @@ -20,7 +20,7 @@

{{ object.name|default:object.slug }}

@@ -30,7 +30,7 @@

{{ object.name|default:object.slug }}

{% trans "Groups" %}

- {% include 'groups/_group_list_item.html' %} + {% include 'groups/_group_profile_list_item.html' %}
{% include 'search/_pagination.html' %}