Licitator 1.0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
555 B

5 years ago
  1. <div class="outgoing_msg">
  2. <div class="sent_msg">
  3. <span class="time_date"> {% if message.fecha %} {{ message.fecha|format_datetime(locale=app.request.getLocale()) }} {% endif %}</span>
  4. <p>
  5. {% set lastarray=message.mensaje|raw|split('<br>')%}
  6. {% for element in lastarray %}
  7. {%if 'href' in element%}
  8. {{ element|replace({(element|raw|striptags): element|raw|striptags|trans({})})|raw }}
  9. {%else%}
  10. {{ element|raw|striptags|trans({})}}
  11. {% endif%}
  12. {% endfor%}
  13. </p>
  14. </div>
  15. </div>