|
@@ -19,7 +19,7 @@
|
|
|
{% endblock %}
|
|
|
|
|
|
{% block description -%}
|
|
|
- {{ package.description }}
|
|
|
+ {{ package.description|slice(0, 300) }}
|
|
|
{%- endblock %}
|
|
|
|
|
|
{% set hasActions = is_granted('ROLE_EDIT_PACKAGES') or is_granted('ROLE_UPDATE_PACKAGES') or package.maintainers.contains(app.user) %}
|
|
@@ -76,7 +76,7 @@
|
|
|
<div class="alert alert-danger">There is no license information available for the latest version ({{ expandedVersion.version }}) of this package.</div>
|
|
|
{% endif %}
|
|
|
|
|
|
- <p class="description">{{ package.description }}</p>
|
|
|
+ <p class="description">{{ package.description|slice(0, 300) }}</p>
|
|
|
|
|
|
{% if hasActions %}
|
|
|
<div class="btn-group btn-group-xs">
|