list editions
This commit is contained in:
@ -1,17 +1,8 @@
|
||||
{% fragment as default_content %}
|
||||
{% load randomid %}
|
||||
{% for td in data %}
|
||||
{% if forloop.first %}
|
||||
<th scope="row"
|
||||
class="px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white min-w-30char">
|
||||
{% randomid td as th_popover_id %}
|
||||
<span data-popover-target="{{ th_popover_id }}">{{ td|truncatechars:30 }}</span>
|
||||
{% if td|length > 30 %}
|
||||
{% #popover id=th_popover_id %}
|
||||
{{ td }}
|
||||
{% /popover %}
|
||||
{% endif %}
|
||||
</th>
|
||||
class="px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white">{{ td }}</th>
|
||||
{% else %}
|
||||
{% #table_td %}
|
||||
{{ td }}
|
||||
|
Reference in New Issue
Block a user