euscanwww: Added some "truncatechars" filters
Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
parent
34e966f5de
commit
fd8c61d7e8
@ -33,7 +33,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
|
|
||||||
{{ package.last_version_gentoo.version }}
|
{{ package.last_version_gentoo.version|truncatechars:15 }}
|
||||||
</td>
|
</td>
|
||||||
<td>{{ package.last_version_overlay.version }}</td>
|
<td>{{ package.last_version_overlay.version }}</td>
|
||||||
<td>{{ package.last_version_upstream.version }}</td>
|
<td>{{ package.last_version_upstream.version }}</td>
|
||||||
|
@ -11,7 +11,9 @@
|
|||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
<li>
|
<li>
|
||||||
<img src="{{ STATIC_URL }}/img/feed.png" alt="feed" />
|
<img src="{{ STATIC_URL }}/img/feed.png" alt="feed" />
|
||||||
<a title="{{ category }} Feed" href="{% url "category_feed" category %}">{{ category }}</a>
|
<a title="{{ category }} Feed" href="{% url "category_feed" category %}">
|
||||||
|
{{ category|truncatechars:15 }}
|
||||||
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
@ -11,7 +11,9 @@
|
|||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
<li>
|
<li>
|
||||||
<img src="{{ STATIC_URL }}/img/feed.png" alt="feed" />
|
<img src="{{ STATIC_URL }}/img/feed.png" alt="feed" />
|
||||||
<a title="{{ herd.herd }} Feed" href="{% url "herd_feed" herd.herd %}">{{ herd.herd }}</a>
|
<a title="{{ herd.herd }} Feed" href="{% url "herd_feed" herd.herd %}">
|
||||||
|
{{ herd.herd|truncatechars:15 }}
|
||||||
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
<li>
|
<li>
|
||||||
<img src="{{ STATIC_URL }}/img/feed.png" alt="feed" />
|
<img src="{{ STATIC_URL }}/img/feed.png" alt="feed" />
|
||||||
<a title="{{ maintainer.name }} Feed" href="{% url "maintainer_feed" maintainer.id %}">
|
<a title="{{ maintainer.name }} Feed" href="{% url "maintainer_feed" maintainer.id %}">
|
||||||
{{ maintainer.name }}
|
{{ maintainer.name|truncatechars:15 }}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
<li>
|
<li>
|
||||||
<img src="{{ STATIC_URL }}/img/feed.png" alt="feed" />
|
<img src="{{ STATIC_URL }}/img/feed.png" alt="feed" />
|
||||||
<a title="{{ package }} Feed" href="{% url "package_feed" package.category package.name %}">
|
<a title="{{ package }} Feed" href="{% url "package_feed" package.category package.name %}">
|
||||||
{{ package }}
|
{{ package|truncatechars:15 }}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
Reference in New Issue
Block a user