From 47effe503ed2737d13c1d98479cdb15bf9eaefee Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Sun, 5 Apr 2020 13:06:16 +0200 Subject: [PATCH] adding live links to sessions comments --- rowers/templates/plannedsessions_print.html | 2 +- rowers/templates/plannedsessionview.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rowers/templates/plannedsessions_print.html b/rowers/templates/plannedsessions_print.html index b123b6ed..2fa37771 100644 --- a/rowers/templates/plannedsessions_print.html +++ b/rowers/templates/plannedsessions_print.html @@ -32,7 +32,7 @@ Unit{{ ps.sessionunit }} - Comment{{ ps.comment|linebreaks }} + Comment{{ ps.comment|linebreaks|urlshorten:"50" }} {% endfor %} diff --git a/rowers/templates/plannedsessionview.html b/rowers/templates/plannedsessionview.html index 1f2a4889..669878a3 100644 --- a/rowers/templates/plannedsessionview.html +++ b/rowers/templates/plannedsessionview.html @@ -30,7 +30,7 @@ {% if key == attr %} {% if key == 'comment' %} - {{ value.0 }}{{ value.1|linebreaks }} + {{ value.0 }}{{ value.1|linebreaks|urlshorten:"50" }} {% else %} {{ value.0 }}{{ value.1 }} {% endif %}