diff --git a/cps/templates/detail.html b/cps/templates/detail.html index 30df15a1..3121a3e9 100644 --- a/cps/templates/detail.html +++ b/cps/templates/detail.html @@ -17,7 +17,7 @@ {% if g.user.role_download() %} {% if entry.data|length %}
- {% if entry.data|length < 3 %} + {% if entry.data|length < 2 %} diff --git a/cps/templates/index.html b/cps/templates/index.html index bcffec6c..436ff10d 100755 --- a/cps/templates/index.html +++ b/cps/templates/index.html @@ -53,7 +53,7 @@
-

{{entry.title|shortentitle}}

+

{{entry.title|truncate(60)}}

{% for author in entry.authors %} {{author.name.replace('|',',')}} diff --git a/cps/templates/layout.html b/cps/templates/layout.html index 8a3bc3c2..01a1fa4a 100644 --- a/cps/templates/layout.html +++ b/cps/templates/layout.html @@ -24,7 +24,7 @@ {% block header %}{% endblock %} - +