2008-11-18 09:15:02 +01:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								{extends "idf/issues/base.html"}
							 
						 
					
						
							
								
									
										
										
										
											2008-08-13 22:11:08 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								{block docclass}yui-t3{assign $inCreate = true}{/block}
							 
						 
					
						
							
								
									
										
										
										
											2008-07-25 10:26:05 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								{block body}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{if $form.errors}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< div  class = "px-message-error" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< p > {trans 'The form contains some errors. Please correct them to submit the issue.'}< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{if $form.get_top_errors}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{$form.render_top_errors|unsafe}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{/if}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{/if}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2009-02-27 14:21:09 +01:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								{if $preview}
							 
						 
					
						
							
								
									
										
										
										
											2009-05-26 11:48:02 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								< h2  id = "preview"  class = "top" > {trans 'Preview'}< / h2 > 
							 
						 
					
						
							
								
									
										
										
										
											2009-02-27 14:21:09 +01:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								< div  class = "issue-comment issue-comment-first issue-comment-last" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< br  / > < pre  class = "issue-comment-text" > {issuetext $preview, $request}< / pre > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< hr  / > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{/if}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2009-05-26 11:48:02 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								< form  method = "post"  enctype = "multipart/form-data"  action = "{url 'IDF_Views_Issue::create', array($project.shortname)}#preview"  > 
							 
						 
					
						
							
								
									
										
										
										
											2008-07-25 10:26:05 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								< table  class = "form"  summary = "" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< th > < strong > {$form.f.summary.labelTag}:< / strong > < / th > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< td > {if $form.f.summary.errors}{$form.f.summary.fieldErrors}{/if}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{$form.f.summary|unsafe}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< / tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< th > < strong > {$form.f.content.labelTag}:< / strong > < / th > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< td > {if $form.f.content.errors}{$form.f.content.fieldErrors}{/if}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{$form.f.content|unsafe}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< / td > 
							 
						 
					
						
							
								
									
										
										
										
											2008-11-12 20:40:58 +01:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								< / tr > 
							 
						 
					
						
							
								
									
										
										
										
											2008-11-27 11:10:23 +01:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								< tr  id = "form-attachment-1" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< th > {$form.f.attachment1.labelTag}:< / th > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< td > {if $form.f.attachment1.errors}{$form.f.attachment1.fieldErrors}{/if}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{$form.f.attachment1|unsafe}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< / tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< tr  id = "form-attachment-2" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< th > {$form.f.attachment2.labelTag}:< / th > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< td > {if $form.f.attachment2.errors}{$form.f.attachment2.fieldErrors}{/if}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{$form.f.attachment2|unsafe}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< / tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< tr  id = "form-attachment-3" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< th > {$form.f.attachment3.labelTag}:< / th > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< td > {if $form.f.attachment3.errors}{$form.f.attachment3.fieldErrors}{/if}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{$form.f.attachment3|unsafe}
							 
						 
					
						
							
								
									
										
										
										
											2008-11-12 20:40:58 +01:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								< / td > 
							 
						 
					
						
							
								
									
										
										
										
											2008-07-25 10:26:05 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								< / tr > {if $isOwner or $isMember}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< th > < strong > {$form.f.status.labelTag}:< / strong > < / th > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< td > {if $form.f.status.errors}{$form.f.status.fieldErrors}{/if}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{$form.f.status|unsafe}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< / tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< th > {$form.f.owner.labelTag}:< / th > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< td > {if $form.f.owner.errors}{$form.f.owner.fieldErrors}{/if}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{$form.f.owner|unsafe}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< / tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< th > {$form.f.label1.labelTag}:< / th > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{if $form.f.label1.errors}{$form.f.label1.fieldErrors}{/if}{$form.f.label1|unsafe}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{if $form.f.label2.errors}{$form.f.label2.fieldErrors}{/if}{$form.f.label2|unsafe}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{if $form.f.label3.errors}{$form.f.label3.fieldErrors}{/if}{$form.f.label3|unsafe}< br  / > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{if $form.f.label4.errors}{$form.f.label4.fieldErrors}{/if}{$form.f.label4|unsafe}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{if $form.f.label5.errors}{$form.f.label5.fieldErrors}{/if}{$form.f.label5|unsafe}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{if $form.f.label6.errors}{$form.f.label6.fieldErrors}{/if}{$form.f.label6|unsafe}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< / tr > {/if}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< td >   < / td > 
							 
						 
					
						
							
								
									
										
										
										
											2009-02-27 14:21:09 +01:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								< td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< input  type = "submit"  value = "{trans 'Submit Issue'}"  name = "submit"  / >  
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< input  type = "submit"  value = "{trans 'Preview'}"  name = "preview"  / >  | 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< a  href = "{url 'IDF_Views_Issue::index', array($project.shortname)}" > {trans 'Cancel'}< / a > 
							 
						 
					
						
							
								
									
										
										
										
											2008-07-25 10:26:05 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< / tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< / table > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< / form > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{/block}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{block context}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< div  class = "issue-submit-info" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{blocktrans}< p > When you submit the issue do not forget to provide the following information:< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< li > The steps to reproduce the problem.< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< li > The version of the software and your operating system.< / li > 
							 
						 
					
						
							
								
									
										
										
										
											2008-08-05 21:35:26 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								< li > Any information that can help the developers to solve the issue.< / li > 
							 
						 
					
						
							
								
									
										
										
										
											2008-07-25 10:26:05 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								< li > < strong > Do not provide any password or confidential information!< / strong > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< / ul > {/blocktrans}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< / div > 
							 
						 
					
						
							
								
									
										
										
										
											2008-07-29 22:33:13 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								{/block}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{block javascript}
							 
						 
					
						
							
								
									
										
										
										
											2008-07-25 10:26:05 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								< script  type = "text/javascript" > 
							 
						 
					
						
							
								
									
										
										
										
											2008-11-27 11:10:23 +01:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								document.getElementById('id_summary').focus();{literal}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								$(document).ready(function(){
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    // Hide the upload forms, we insert before the first attach file
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    // row an "Attach File" little link.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    // We hide all the rows.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    $("#form-attachment-1").before("{/literal}< tr  id = \"form-block-0\" > < td >   < / td > < td > < img  style = \"vertical-align:  text-bottom ; \ "  src = \"{media  ' / idf / img / attachment . png ' } \ "  alt = \"  \ "  align = \"bottom\"  / > < a  id = \"form-show-0\"  href = \"#\" > {trans 'Attach file'}{literal}< / a > < / td > < / tr > ");
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    $("#form-show-0").click(function(){
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        $("#form-attachment-1").show();
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        $("#form-block-0").hide();
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    });
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    $("#form-attachment-1 td").append("< span  id = \"form-block-1\" > < a  id = \"form-show-1\"  href = \"#\" > {/literal}{trans 'Attach another file'}{literal}< / a > < / span > ");
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    $("#form-show-1").click(function(){
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            $("#form-attachment-2").show();
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            $("#form-block-1").hide();
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        });
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    $("#form-attachment-2 td").append("< span  id = \"form-block-2\" > < a  id = \"form-show-2\"  href = \"#\" > {/literal}{trans 'Attach another file'}{literal}< / a > < / span > ");
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    $("#form-show-2").click(function(){
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            $("#form-attachment-3").show();
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            $("#form-block-2").hide();
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        });
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    var j=0;
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    for (j=1;j< 4 ; j = j+1)  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        $("#form-attachment-"+j).hide();
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    });
							 
						 
					
						
							
								
									
										
										
										
											2008-07-25 10:26:05 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								< / script > 
							 
						 
					
						
							
								
									
										
										
										
											2008-11-30 10:26:05 +01:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								{/literal}
							 
						 
					
						
							
								
									
										
										
										
											2008-11-18 09:15:02 +01:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								{include 'idf/issues/js-autocomplete.html'}{/block}
							 
						 
					
						
							
								
									
										
										
										
											2008-07-25 10:26:05 +02:00