{extends "../@layout.xml"}
{block title}{_bug_tracker}{/block}
{block header}
{_bug_tracker}
{/block}
{block content}
{if $user->identity->isBannedInBt()}
{tr("bug_tracker_banned_1", htmlentities($thisUser->getCanonicalName()))|noescape}
{tr("bug_tracker_banned_2", htmlentities($user->identity->getBanInBtReason()))|noescape}
{else}
{if $mode === "list"}
{if $count < 1}
{include "../components/nothing.xml"}
{/if}
{var $isHidden = !$bug->getProduct()->hasAccess($user->identity)}
|
{_bug_tracker_product}:
|
AbcdEFGH
|
{_bug_tracker_sent_by}:
|
John Doe
|
{_bug_tracker_reproduced}:
|
...
|
{_status}:
|
...
|
{_bug_tracker_priority}:
|
...
|
{_created}:
|
...
|
|
{include "../components/paginator.xml", conf => (object) [
"page" => $page,
"count" => $count,
"amount" => sizeof($iterator),
"perPage" => 5,
"atBottom" => true,
]}
{elseif $mode === "new"}
{elseif $mode === "products"}
{if $count < 1}
{include "../components/nothing.xml"}
{/if}
|
{$product->getDescription()}
|
{include "../components/paginator.xml", conf => (object) [
"page" => $page,
"count" => $count,
"amount" => sizeof($iterator),
"perPage" => 5,
"atBottom" => true,
]}
{elseif $mode === "new_product"}
{elseif $mode === "reporter"}
{include "../components/paginator.xml", conf => (object) [
"page" => $page,
"count" => $count,
"amount" => sizeof($iterator),
"perPage" => 5,
"atBottom" => true,
]}
{_profile_not_found}
{/if}
{/if}
{/block}