Skip to content

Commit

Permalink
[Fixes GeoNode#7679] Abstract not truncated in resource list
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiagiupponi committed Jun 17, 2021
1 parent b451071 commit aa6a30a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geonode/base/templates/base/_resourcebase_snippet.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ <h4>
<div class="alert alert-danger" ng-if="item.dirty_state == false && item.is_approved == true && item.is_published == false">{% trans "UNPUBLISHED" %}</div>

{% verbatim %}
<div class="abstract" ng-bind-html="item.abstract"></div>
<div class="abstract" ng-bind-html="item.abstract | limitTo: 300"></div>
<p class="abstract">{{ item.abstract.length > 300 ? '...' : ''}}</p>
<div class="row">
<div class="col-lg-12 item-items">
Expand Down

0 comments on commit aa6a30a

Please sign in to comment.