summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2018-04-09 11:07:45 +1200
committerPaul Eggleton <paul.eggleton@linux.intel.com>2018-05-04 23:57:53 +1200
commitead2144d29d2a6bd299f9ad7c837966f507169fb (patch)
treef88330783c03ca734cfd93af3f94d80a6501fb74
parent3a3c9f3d02d01238f8e9177102c11e21f34b7946 (diff)
downloadopenembedded-core-contrib-ead2144d29d2a6bd299f9ad7c837966f507169fb.tar.gz
openembedded-core-contrib-ead2144d29d2a6bd299f9ad7c837966f507169fb.tar.bz2
openembedded-core-contrib-ead2144d29d2a6bd299f9ad7c837966f507169fb.zip
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 <paul.eggleton@linux.intel.com>
-rw-r--r--templates/layerindex/detail.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/layerindex/detail.html b/templates/layerindex/detail.html
index 4898d92ad1..97363d591f 100644
--- a/templates/layerindex/detail.html
+++ b/templates/layerindex/detail.html
@@ -62,7 +62,7 @@
<div class="row-fluid">
{% for note in layeritem.layernote_set.all %}
<div class="alert">
- {{ note.text }}
+ {{ note.text|urlize }}
{% if perms.layerindex.publish_layer or useredit %}
<br><br>
<p>