Mercurial > hg > bts-webui
changeset 39:62ea09460fc1 draft
Splitted bug.html and bug_actions.html
Added some actions. They don't yet work
author | marga |
---|---|
date | Thu, 23 Aug 2007 22:57:21 +0000 |
parents | b024beadbcf5 |
children | 618db4d5391e |
files | bts_webui/amancay/templates/bug.html bts_webui/amancay/templates/bug_actions.html |
diffstat | 2 files changed, 16 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/bts_webui/amancay/templates/bug.html +++ b/bts_webui/amancay/templates/bug.html @@ -31,6 +31,7 @@ </div> </div> + {% if bug_messages %} {% for message in bug_messages %} <div class="bug_log_item"> @@ -48,11 +49,8 @@ </div> </div> {% endfor %} -<div class="add_comment_button"> -<form name="show_add_comment" method="POST"> -<input id="add_comment_button" type="button" value="Add Comment" /> -</form> -</div> +{% include "bug_actions.html" %} +<!-- hidden forms --> <div class="add_comment" id="add_comment_form"> <form name="add_comment" method="POST" action="./"> <fieldset class="add_comment">
new file mode 100644 --- /dev/null +++ b/bts_webui/amancay/templates/bug_actions.html @@ -0,0 +1,13 @@ +<div class="bug_actions"> +<form name="show_add_comment" method="POST"> +<input id="add_comment_button" type="button" value="Add Comment" /> +<input id="report_spam_button" type="button" value="Report Spam" /> +<select id="more_actions"> +<option selected>More Actions</option> +<option id="reassign">Reassign</option> +<option id="severity">Change Severity</option> +<option id="close">Close</option> +<option id="retitle">Retitle</option> +</select> +</form> +</div>