This commit is contained in:
Michael Götz 2019-02-07 17:09:56 +01:00
commit b3272693d1

View File

@ -41,17 +41,15 @@
</thead> </thead>
<tbody> <tbody>
{% for note in notes %} {% for note in notes %}
<tr> <tr>
<td scope="row"><a href="{{ host }}/{{ note['shortid'] }}" target="_blank">{{ note['shortid'] }}</a> <td scope="row"><a href="{{host}}/{{note['shortid']}}" target="_blank">{{note['shortid']}}</a></td>
</td> <td>{{note['title']}}</td>
<td>{{ note['title'] }}</td> <td>{{note['alias']}}</td>
<td>{{ note['alias'] }}</td> <td><span class="note-date">{% if note['lastchangeAt'] %}{{note['lastchangeAt'].strftime('%Y-%m-%d %H:%M')}}{% endif %}</span>
<td><span class="note-date">{% if note['lastchangeAt'] %} </td>
{{ note['lastchangeAt'].strftime('%d.%m.%Y %H:%M') }}{% endif %}</span> <td>{{note['permission']}}</td>
</td> <td>{%if note['content']%}💬{%else%}❌{%endif%}</td>
<td>{{ note['permission'] }}</td> </tr>
<td>{% if note['content'] %}💬{% else %}❌{% endif %}</td>
</tr>
{% endfor %} {% endfor %}
</tbody> </tbody>
</table> </table>