Files
EpiSupport-Zammad-Scraper/templates/_macros.html
T
2026-06-29 09:52:02 +02:00

18 lines
812 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{% macro change_row(c) %}
<li class="{{ 'unseen' if not c.seen else '' }}"
{% if c.detail %}title="{{ c.detail }}"{% endif %}>
<span class="tag tag-{{ c.field }}">{{ c.label }}</span>
<a class="cnum" href="{{ url_for('ticket_detail', ticket_id=c.ticket_id) }}">#{{ c.ticket_number }}</a>
<span class="ctitle">{{ c.ticket_title }}</span>
<span class="cchg">{{ c.old_value or '' }} → <b>{{ c.new_value or '' }}</b></span>
<time>{{ c.detected_at|dt }}</time>
{% if not c.seen %}
<form method="post" action="{{ url_for('mark_one_read', change_id=c.id) }}" class="mark-one">
<button type="submit" title="Als gelesen markieren"></button>
</form>
{% else %}
<span class="seen-dot" title="gelesen">·</span>
{% endif %}
</li>
{% endmacro %}