{if !isset($userFollowingCategory)}{assign var=userFollowingCategory value=$overviewCategory->isUserFollowing()}{/if} {assign var=categoryaccess value=$overviewCategory->joined.obj_categoryaccess}
 {"Back to challenges"|gettext}
joined.obj_category_file folder='categoryView'}{else}background-image:url({$vars.resourcesUrl}challengeicon-default.png);{/if}">
{"Ideas"|gettext}
{$overviewCategory->stats.ideasPlusChildren}
joined.obj_categoryaccess->getData('blindVoting')}data-tip="{"Blind voting is enabled"|gettext}"{/if}>
{"Votes"|gettext}
{if !$overviewCategory->joined.obj_categoryaccess->getData('blindVoting')} {$overviewCategory->stats.votesPlusChildren} {else}   {/if}
{"Comments"|gettext}
{$overviewCategory->stats.commentsPlusChildren}
{"Participants"|gettext}
{$overviewCategory->stats.usersPlusChildren}
{if $hubbub->hubbub_arrOptions.allowSocialShare} {include file="$templateSource/html/shareChallenge.html" shareChallenge=$overviewCategory} {/if}
{if $overviewCategory->joined.obj_categoryaccess->getData('showClosed')}
{"Closed"|gettext}
{/if} {*{if $hubbub->data.hubbub_allowrss eq 1}{/if}*}
{include file=Template::get('category/followbutton.html') category=$overviewCategory}

{if $overviewCategory->joined.obj_categoryaccess->getData('showClosed')} {"This challenge is now closed"|gettext} {else if $overviewCategory->data.category_archived == Category::STATUS_ARCHIVED} {"Archived challenge"|gettext} {else} {"Challenge"|gettext} {/if}

{Translation::t($overviewCategory, 'category_name')}

{$overviewCategory->getDescriptionOutput()}
{if $allowanceLeft}
{if $categoryaccess->getData('votingScheme') eq 'up' || $categoryaccess->getData('votingScheme') eq 'updown'} {if $allowanceLeftValue != 1} {"You have %s votes remaining in this challenge"|gettext|sprintf:"{$allowanceLeftValue}"} {else} {"You have 1 vote remaining in this challenge"|gettext|sprintf:"1"} {/if} {else if $categoryaccess->getData('votingScheme') eq 'pointsAward'} {if $allowanceLeftValue != 1} {if $categoryaccess->getData('renameScoring')} {"You have %s votes remaining in this challenge"|gettext|sprintf:"{$allowanceLeftValue}"} {else} {"You have %s points remaining in this challenge"|gettext|sprintf:"{$allowanceLeftValue}"} {/if} {else} {if $categoryaccess->getData('renameScoring')} {"You have 1 vote remaining in this challenge"|gettext|sprintf:"1"} {else} {"You have 1 point remaining in this challenge"|gettext|sprintf:"1"} {/if} {/if} {else if $categoryaccess->getData('votingScheme') eq 'stars'} {if $allowanceLeftValue != 1} {"You can rate %s more ideas in this challenge"|gettext|sprintf:"{$allowanceLeftValue}"} {else} {"You can rate 1 more idea in this challenge"|gettext|sprintf:"1"} {/if} {/if}
{/if}
{if strlen($overviewCategory->data.category_longdescription)>10 || $selectedFileIdsArray|@count>0} {assign var=clickString value='full brief and media'} {if strlen($overviewCategory->data.category_longdescription)>10 && ($selectedFileIdsArray|@count<=0)} {assign var=clickString value='full brief'} {elseif (strlen($overviewCategory->data.category_longdescription)<=10) && ($selectedFileIdsArray|@count>0)} {assign var=clickString value='media'} {/if} {if strlen($overviewCategory->data.category_longdescription)>10 && ($selectedFileIdsArray|@count<=0)} {"See full brief"|gettext} {elseif (strlen($overviewCategory->data.category_longdescription)<=10) && ($selectedFileIdsArray|@count>0)} {"See media"|gettext} {else} {"See full brief and media"|gettext} {/if} {/if}
{if $overviewCategory->data.category_phased eq 1} {include file=Template::get('category/view_overview_category_top_phasetimeline.html')} {else} {include file=Template::get('category/view_overview_category_top_phasetimeline_off.html')} {/if}