Fix chat log links
[phinde.git] / data / templates / search / hit-chat.htm
1 {% set doc = hit._source %}
2 <li class="hit hit-chat">
3  <span class="text">
4   {{doc.htmlText|raw}}
5  </span>
6  <br/>
7  <span class="meta">
8   {% if doc.author.name %}
9   <em>
10    {% if doc.author.url %}
11    <a href="{{doc.author.url}}">{{doc.author.name}}</a>
12    {% else %}
13    {{doc.author.name}}
14    {% endif %}
15   </em>
16   at
17   {% endif %}
18   {% if doc.modate %}
19   <a href="{{doc.url}}" class="date">{{doc.modate|date("Y-m-d H:i")}}</a>
20   {% endif %}
21  </span>
22 </li>