{% extends "layouts/app.twig" %} {% import 'macros/base.twig' as m %} {% import 'macros/form.twig' as f %} {% block title %}{{ __('message.title') }}{% endblock %} {% block content %}
{{ __('angel') }} | {{ __('message.message') }} | {{ __('date') }} |
---|---|---|
{{ m.user(c.other_user, {'pronoun': true, 'url': url('messages/' ~ c.other_user.id ~ '#newest')}) }} {% if c.unread_messages > 0 %} {{ c.unread_messages }} {% endif %} | {{ c.latest_message.text|length > 100 ? c.latest_message.text|slice(0, 100) ~ '…' : c.latest_message.text }} | {{ c.latest_message.created_at.format(__('Y-m-d H:i')) }} |