Skip to content

Commit

Permalink
[Fixes #7679] Abstract not truncated in resource list (#7680)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiagiupponi authored Jun 21, 2021
1 parent 50ac2b7 commit 79991d0
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 79991d0

Please sign in to comment.