Skip to content

Commit

Permalink
adding truncation on tags (keywords). adding tooltip for keywords and…
Browse files Browse the repository at this point in the history
… description.
  • Loading branch information
bmotevalli committed Jun 10, 2024
1 parent 10c8527 commit bc476fb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
<td><a href="/organization/{{ package.organization.name }}">{{ package.organization.title }}</a></td>
<td>{{ package.num_resources }}</td>
<td>{% for tag in package.tags %}
<span class="badge">{{ tag.name }}</span>{% endfor %}
<span class="badge" title="{{ tag.name }}">{{ tag.name|truncate(20) }}</span>{% endfor %}
</td>
<td>{{ package.notes|truncate(80) }}</td>
<td title="{{ package.notes }}">{{ package.notes|truncate(150) }}</td>
<td>
{% if parent_id %}
{% set pkg = h.get_package(parent_id) %} {# Attempt to fetch the package details by ID #}
Expand Down

0 comments on commit bc476fb

Please sign in to comment.