2023-02-18 21:12:33 +00:00
|
|
|
<li class="message" id="message-{{ message.id }}" message-id="{{ message.id }}">
|
2023-01-27 23:11:10 +00:00
|
|
|
<a href="{{ url('user_page', message.author.user.username) }}">
|
|
|
|
<img src="{{ gravatar(message.author, 135) }}" class="profile-pic">
|
|
|
|
</a>
|
|
|
|
<div class="body-message">
|
|
|
|
<div class="user-time">
|
|
|
|
<span class="username {{ message.author.css_class }}">
|
|
|
|
<a href="{{ url('user_page', message.author.user.username) }}">
|
|
|
|
{{ message.author }}
|
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
<span class="time">
|
|
|
|
{{ relative_time(message.time, abs=_('{time}'), rel=_('{time}'), format=_('g:i a d/m/Y')) }}
|
|
|
|
</span>
|
2021-06-19 03:26:43 +00:00
|
|
|
</div>
|
2023-01-27 23:11:10 +00:00
|
|
|
<span class="content-message">
|
|
|
|
<div class="body-block" id="body-block-{{ message.id }}" title="{{ message.time|date('g:i a') }}">
|
|
|
|
{% if request.user.is_staff %}
|
|
|
|
<a class="red chatbtn_remove_mess" value="{{message.id}}" style="cursor: pointer;">
|
|
|
|
{{_('Delete')}}
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
<div class="message-text message-text-other">
|
2023-02-13 00:32:31 +00:00
|
|
|
{{message.body|markdown(lazy_load=False)|reference|str|safe }}
|
2023-01-27 23:11:10 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
2021-06-19 03:26:43 +00:00
|
|
|
</li>
|