Private
Public Access
1
0

adding live links to sessions comments

This commit is contained in:
Sander Roosendaal
2020-04-05 13:06:16 +02:00
parent 2b901908b9
commit 47effe503e
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@
<th align="left">Unit</th><td>{{ ps.sessionunit }}</td>
</tr>
<tr>
<th align="left">Comment</th><td>{{ ps.comment|linebreaks }}</td>
<th align="left">Comment</th><td>{{ ps.comment|linebreaks|urlshorten:"50" }}</td>
</tr>
</table>
{% endfor %}

View File

@@ -30,7 +30,7 @@
{% if key == attr %}
<tr>
{% if key == 'comment' %}
<td><b>{{ value.0 }}</b></td><td class="wrapwords">{{ value.1|linebreaks }}</td>
<td><b>{{ value.0 }}</b></td><td class="wrapwords">{{ value.1|linebreaks|urlshorten:"50" }}</td>
{% else %}
<td><b>{{ value.0 }}</b></td><td class="wrapwords">{{ value.1 }}</td>
{% endif %}