-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4578 from GeoNode/ISSUE_4575
[Fixes #4575] Group Category summary page does not show associated gr…
- Loading branch information
Showing
2 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
geonode/groups/templates/groups/_group_profile_list_item.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{% verbatim %} | ||
<article ng-repeat="group in results" ng-cloak class="ng-cloak"> | ||
<div class="col-xs-12 col-sm-6 col-lg-4 group-container"> | ||
<div class="col-xs-12 group-avatar"> | ||
<div class="col-xs-4 group-image"> | ||
<a ng-if="group.group_profile.logo" href="{{ group.group_profile.detail_url }}" ><img ng-if="group.group_profile.logo" ng-src="{{ group.group_profile.logo }}" alt="{{ group.group_profile.title }}" class="group-logo" /></a> | ||
</div> | ||
<div class="col-xs-8 group-details"> | ||
<h5><a href="{{ group.group_profile.detail_url }}"></a></h5> | ||
<!-- <a href="mailto:{{ group.group_profile.email }}" ng-if="group.group_profile.email != ''"><i class="fa fa-envelope-o"></i></a> --> | ||
<p><small>{{ group.group_profile.description | limitTo: 100 }}{{ group.group_profile.description.length > 100 ? '...' : ''}}</small></p> | ||
</div> | ||
<div class="col-xs-12 group-items"> | ||
<ul class="list-inline"> | ||
<li> | ||
<a href="{{ group.group_profile.detail_url }}"> | ||
<strong>{{ group.group_profile.member_count }}</strong> | ||
<ng-pluralize count="group.group_profile.member_count" when="{'1': 'Member', 'other': 'Members'}"></ng-pluralize> | ||
</a> | ||
</li> | ||
<li> | ||
<a href="{{ group.group_profile.detail_url }}"> | ||
<strong>{{ group.group_profile.manager_count }}</strong> | ||
<ng-pluralize count="group.group_profile.manager_count" when="{'1': 'Manager', 'other': 'Managers'}"></ng-pluralize> | ||
</a> | ||
</li> | ||
</div> | ||
</div> | ||
</article> | ||
{% endverbatim %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters