aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-07-20 20:10:20 +0100
committerPaul Eggleton <paul.eggleton@linux.intel.com>2013-08-11 11:28:15 +0100
commite8d734a3773f7cf6b21510fa86d53782e321d0a7 (patch)
tree1406fd3e11cba81bfa5868dcca3cf862b1840af2 /templates
parent1c70da817b085707bee51529292d138c009f6069 (diff)
downloadopenembedded-core-contrib-e8d734a3773f7cf6b21510fa86d53782e321d0a7.tar.gz
Minor improvement to layer note spacing/margins
Don't show a slightly longer bottom margin when buttons are not shown. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/layerindex/detail.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/layerindex/detail.html b/templates/layerindex/detail.html
index aa489c4c4c..c68bfec91e 100644
--- a/templates/layerindex/detail.html
+++ b/templates/layerindex/detail.html
@@ -56,8 +56,9 @@
<div class="row-fluid">
{% for note in layeritem.layernote_set.all %}
<div class="alert">
- <p>{{ note.text }}</p>
+ {{ note.text }}
{% if perms.layerindex.publish_layer or useredit %}
+ <br><br>
<p>
<a href="{% url edit_layernote layeritem.name note.pk %}" class="btn">Edit note</a>
<a href="{% url delete_layernote layeritem.name note.pk %}" class='btn'>Delete note</a>