{extends "idf/issues/base.html"} {block titleicon}{if $form}
{/if}{/block} {block body} {assign $i = 0} {assign $nc = $comments.count()} {foreach $comments as $c}{ashowuser 'submitter', $c.get_submitter(), $request}{assign $who = $c.get_submitter()}
 {if $i == 0}

{blocktrans}Reported by {$submitter}, {$c.creation_dtime|date}{/blocktrans}

{else} {aurl 'url', 'IDF_Views_Issue::view', array($project.shortname, $issue.id)} {assign $id = $c.id} {assign $url = $url~'#ic'~$c.id}

{blocktrans}Comment {$i} by {$submitter}, {$c.creation_dtime|date}{/blocktrans}

{/if}
{if strlen($c.content) > 0}{issuetext $c.content, $request}{else}{trans '(No comments were given for this change.)'}{/if}
{assign $attachments = $c.get_attachment_list()} {if $attachments.count() > 0}
{/if} {if $i> 0 and $c.changedIssue()}
{foreach $c.changes as $w => $v} {if $w == 'su'}{trans 'Summary:'}{/if}{if $w == 'st'}{trans 'Status:'}{/if}{if $w == 'ow'}{trans 'Owner:'}{/if}{if $w == 'lb'}{trans 'Labels:'}{/if} {if $w == 'lb'}{assign $l = implode(', ', $v)}{$l}{else}{$v}{/if}
{/foreach}
{/if}
{assign $i = $i + 1}{if $i == $nc and false == $form}
{aurl 'url', 'IDF_Views::login'}{blocktrans}Sign in to reply to this comment.{/blocktrans}
{/if} {/foreach} {if $form}
{if $form.errors}

{trans 'The form contains some errors. Please correct them to change the issue.'}

{if $form.get_top_errors} {$form.render_top_errors|unsafe} {/if}
{/if} {if $closed and (!$isOwner and !$isMember)}

 {blocktrans}This issue is marked as closed, add a comment only if you think this issue is still valid and more work is needed to fully fix it.{/blocktrans}

{/if} {if $preview}

{trans 'Preview'}


{issuetext $preview, $request}

{/if}
{if $isOwner or $isMember} {/if}
{$form.f.content.labelTag}: {if $form.f.content.errors}{$form.f.content.fieldErrors}{/if} {$form.f.content|unsafe}
{$form.f.attachment1.labelTag}: {if $form.f.attachment1.errors}{$form.f.attachment1.fieldErrors}{/if} {$form.f.attachment1|unsafe}
{$form.f.attachment2.labelTag}: {if $form.f.attachment2.errors}{$form.f.attachment2.fieldErrors}{/if} {$form.f.attachment2|unsafe}
{$form.f.attachment3.labelTag}: {if $form.f.attachment3.errors}{$form.f.attachment3.fieldErrors}{/if} {$form.f.attachment3|unsafe}
{$form.f.summary.labelTag}: {if $form.f.summary.errors}{$form.f.summary.fieldErrors}{/if} {$form.f.summary|unsafe}
{$form.f.status.labelTag}: {if $form.f.status.errors}{$form.f.status.fieldErrors}{/if} {$form.f.status|unsafe}
{$form.f.owner.labelTag}: {if $form.f.owner.errors}{$form.f.owner.fieldErrors}{/if} {$form.f.owner|unsafe}
{$form.f.label1.labelTag}: {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}
{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}
  | {trans 'Cancel'}
{/if} {/block} {block context}
{ashowuser 'submitter', $issue.get_submitter(), $request}

{trans 'Created:'} {$issue.creation_dtime|dateago} {blocktrans}by {$submitter}{/blocktrans}

{if $issue.modif_dtime != $issue.creation_dtime}

{trans 'Updated:'} {$issue.modif_dtime|dateago}

{/if}

{trans 'Status:'} {$issue.get_status.name}

{if $issue.get_owner != null}

{trans 'Owner:'} {showuser $issue.get_owner(), $request}

{/if} {if $interested > 0}

{trans 'Followed by:'} {blocktrans $interested}{$interested} person{plural}{$interested} persons{/blocktrans}

{/if} {assign $tags = $issue.get_tags_list()}{if $tags.count()}

{trans 'Labels:'}
{foreach $tags as $tag}{aurl 'url', 'IDF_Views_Issue::listLabel', array($project.shortname, $tag.id, 'open')} {$tag.class}:{$tag.name}
{/foreach}

{/if}
{/block} {block javascript}{if $form}{include 'idf/issues/js-autocomplete.html'} {/if}{/block}