From ead2144d29d2a6bd299f9ad7c837966f507169fb Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Mon, 9 Apr 2018 11:07:45 +1200 Subject: [PATCH] Turn URLs into links in layer notes It's often useful to add a link to another page for more information when adding a layer note, so turn any included URLs into actual links. Signed-off-by: Paul Eggleton --- templates/layerindex/detail.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/layerindex/detail.html b/templates/layerindex/detail.html index 4898d92..97363d5 100644 --- a/templates/layerindex/detail.html +++ b/templates/layerindex/detail.html @@ -62,7 +62,7 @@
{% for note in layeritem.layernote_set.all %}
- {{ note.text }} + {{ note.text|urlize }} {% if perms.layerindex.publish_layer or useredit %}