2023-02-20 23:15:13 +00:00
|
|
|
{% for ticket in tickets %}
|
|
|
|
<div class="blog-box">
|
|
|
|
<h3 class="problem-feed-name">
|
|
|
|
<a href="{{ ticket.linked_item.get_absolute_url() }}">
|
|
|
|
{{ ticket.linked_item|item_title }}</a>
|
|
|
|
·
|
|
|
|
<a href="{{ url('ticket', ticket.id) }}">
|
|
|
|
{{ ticket.title }}
|
|
|
|
</a>
|
|
|
|
</h3>
|
2024-04-27 01:37:35 +00:00
|
|
|
{% with author_id = ticket.user_id %}
|
|
|
|
{% if author_id %}
|
2023-02-20 23:15:13 +00:00
|
|
|
<div class="problem-feed-info-entry">
|
|
|
|
<i class="fa fa-pencil-square-o fa-fw"></i>
|
2024-04-27 01:37:35 +00:00
|
|
|
<span class="pi-value">{{ link_user(author_id) }}</span>
|
2023-02-20 23:15:13 +00:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
{% endwith %}
|
2024-04-27 01:37:35 +00:00
|
|
|
{% set last_message = ticket.messages.last() %}
|
2023-02-20 23:15:13 +00:00
|
|
|
<div class="problem-feed-types">
|
|
|
|
<i class="fa fa-tag"></i>
|
2024-04-27 01:37:35 +00:00
|
|
|
{{link_user(last_message.user_id)}} {{_('replied')}}
|
2023-02-20 23:15:13 +00:00
|
|
|
</div>
|
|
|
|
<div class='blog-description content-description'>
|
2024-04-27 01:37:35 +00:00
|
|
|
{{ last_message.body|markdown(lazy_load=True)|reference|str|safe }}
|
2023-02-20 23:15:13 +00:00
|
|
|
<div class="show-more"> {{_("...More")}} </div>
|
|
|
|
</div>
|
2023-02-06 17:26:04 +00:00
|
|
|
</div>
|
2023-02-20 23:15:13 +00:00
|
|
|
{% endfor %}
|
|
|
|
{% include "feed/has_next.html" %}
|