{% load i18n misago_capture %}
<ul class="list-inline event-info">
  {% if post.is_hidden %}
    <li class="event-hidden-message">
      {% capture trimmed as hidden_by %}
        {% if post.hidden_by_id %}
          <a href="{% url 'misago:user' pk=post.hidden_by_id slug=post.hidden_by_slug %}" class="item-title">{{ post.hidden_by_name }}</a>
        {% else %}
          <span class="item-title">{{ post.hidden_by_name }}</span>
        {% endif %}
      {% endcapture %}
      {% blocktrans trimmed with hidden_by=hidden_by|safe hidden_on=post.hidden_on|date:'DATETIME_FORMAT' %}
        Hidden by {{ hidden_by }} on {{ hidden_on }}.
      {% endblocktrans %}
    </li>
  {% endif %}
  <li class="event-poster">
    {% capture trimmed as event_by %}
      {% if post.poster %}
        <a class="item-title" href="{{ post.poster.get_absolute_url }}">{{ post.poster.username }}</a>
      {% else %}
        <strong class="item-title">{{ post.poster_name }}</strong>
      {% endif %}
    {% endcapture %}
    {% capture trimmed as event_on %}
      <a href="{{ post.get_absolute_url }}">{{ post.posted_on|date:'DATETIME_FORMAT' }}</a>
    {% endcapture %}
    {% blocktrans trimmed with event_by=event_by|safe event_on=event_on|safe %}
      By {{ event_by }} on {{ event_on }}.
    {% endblocktrans %}
  </li>
  {% if user.acl_cache.can_see_users_ips %}
    <li class="event-ip">
      <abbr title="{{ post.poster_ip }}">{% trans "IP recorded" %}</abbr>
    </li>
  {% endif %}
</ul>