Mercurial > hg > bts-webui
changeset 166:cfcd0eb96c1e draft
toolbox: correctly remove whole lines in lists
We had a <br/> out of the <span> we are disappearing when [x]s are clicked.
From: Diego Escalante Urrelo <diegoe@gnome.org>
author | diegoe-guest |
---|---|
date | Mon, 17 Aug 2009 03:55:38 +0000 |
parents | 85fe2a16e4d5 |
children | ecc41e392805 |
files | bts_webui/amancay/templates/toolbox.html |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/bts_webui/amancay/templates/toolbox.html +++ b/bts_webui/amancay/templates/toolbox.html @@ -63,8 +63,8 @@ {% if toolbox.item_list %} {% for item in toolbox.item_list %} <span class="toolbox_item" id="remove_link_{{ item }}"> - {{ item }} <a href="javascript:remove_item('{{ item }}')" class="toolbox_remove_link">[x]</a> - </span><br/> + {{ item }} <a href="javascript:remove_item('{{ item }}')" class="toolbox_remove_link">[x]</a><br/> + </span> {% endfor %} {% else %} <div class="toolbox_message">No items selected</div>