mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
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>
This commit is contained in:
parent
3a3c9f3d02
commit
ead2144d29
|
@ -62,7 +62,7 @@
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
{% for note in layeritem.layernote_set.all %}
|
{% for note in layeritem.layernote_set.all %}
|
||||||
<div class="alert">
|
<div class="alert">
|
||||||
{{ note.text }}
|
{{ note.text|urlize }}
|
||||||
{% if perms.layerindex.publish_layer or useredit %}
|
{% if perms.layerindex.publish_layer or useredit %}
|
||||||
<br><br>
|
<br><br>
|
||||||
<p>
|
<p>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user