adding live links to sessions comments
This commit is contained in:
@@ -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 %}
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user