{extends "issues/base.html"} {block body} {assign $i = 0} {assign $nc = $comments.count()} {foreach $comments as $c}
{if $i == 0}{assign $who = $issue.get_submitter()}

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

{else}{assign $who = $c.get_submitter()} {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 {$who}, {$c.creation_dtime|date}{/blocktrans}

{/if}
{if strlen($c.content) > 0}{issuetext $c.content, $project}{else}{trans '(No comments were given for this change.)'}{/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 $isOwner or $isMember} {/if}
{$form.f.content.labelTag}: {if $form.f.content.errors}{$form.f.content.fieldErrors}{/if} {$form.f.content|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}
{assign $submitter = $issue.get_submitter()}

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

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

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

{trans 'Owner:'} {if $issue.get_owner == null}{trans 'No owner'}{else}{$issue.get_owner}{/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 'issues/js-autocomplete.html'}{/if}{/block}