{assign var=category value=Category::getParent($category_id)} {assign var=access value=$category->getAccess()}
{if $new_milestone} {assign var=action_type value="new"} {else} {assign var=action_type value="update"} {/if}
{if is_object($milestone)} {/if}

{'Approval moderators'|gettext}

{include file=Template::get("milestone/admin_milestone_moderators.html") milestone_id=$milestone->id prepopulate=$moderatorData accessFor='category' accessForId=$category_id title='Choose users' id="challengeAccessSelector`$category_id`"}

{'Any users that you add here will become a moderator for ideas that require approval to reach this milestone only. These moderators are in ADDITION to any users that are moderators across the whole challenge. For more info, please see our guide to working with milestones.'|gettext}

virtual.conditions.milestonecondition_type neq 'score'}style="display:none;"{/if}>

{'Users who can vote'|gettext}

{include file=Template::get("access/listbox.html") invisibleMessage=gettext('No one can vote during this milestone, so ideas will be unable to progress. Add users and groups using the search function below.') listboxItemsName='voterList' prepopulate=$voterData accessFor='milestone' accessForId=$category_id title='Choose voters' id="moderatorVoteAccess`$milestone->id`"}

{'Add or edit users who are allowed to vote on this milestone. For more info, please see our guide to working with milestones.'|gettext}

{'The preceding milestone has private submissions enabled so only the challenge moderators will be able to see and vote on ideas'|gettext}

  • {if (int)$total_targets > 0}

    {'Enter a value greater than %s'|gettext|sprintf:$total_targets}

    {'Please note: this is a cumulative vote score, the number should be higher than previous vote targets'|gettext}

    {else}

    {'Enter the number of votes you require an idea to achieve'|gettext}

    {/if}

    {"Enter the average that's needed for the post to progress"|gettext}

{'Scorecard criteria'|gettext}

{foreach from=$milestone->getScorecardCriteria() item=scorecard}
{foreachelse}
  • {'Please add at least one scorecard criterion.'|gettext}
{/foreach}

{'Scoring labels'|gettext}

  • {'Keep default milestone name or change to one of your own.'|gettext}

  • {assign var=uid value=uniqid()}
    {$milestone->description}

    {'Add a short tool tip description to explain the milestone'|gettext}

{'When approaching this milestone'|gettext}

  • {$milestone->data.milestone_authormessage}

    {'This message is shown on the idea page, under the milestones. Only IDEA AUTHORS will see it (not all users). You can use this space to provide information or instructions to authors.'|gettext}

{if $milestone->getConditionType() neq 'start'}
  • {$milestone->data.milestone_usermessage}

    {'This message is shown on the idea page, under the milestones. Only USERS will see it (not the idea author). You can use this space to provide information or instructions to users.'|gettext}

  • {$milestone->moderatorEmail}

    {'An email will be sent to moderators to tell them that an idea is approaching this milestone. Use this space to add your own text to the email.'|gettext}

{'Email for voters'|gettext}

  • {$milestone->voterEmail}

    {'This email will be sent to the users specified under "Users who can vote".'|gettext}

  • {'This option is only available when individuals or groups of users can vote. You cannot send an email when Everyone can vote.'|gettext}

{'When this milestone has been reached'|gettext}

  • {$milestone->data.milestone_emailmessage}

    {'An email will be sent to the idea author to tell them that their idea has reached this milestone. Use this space to add your own text to the email. Ideally you should explain what the next milestone is and what they need to do to reach it.'|gettext}

{/if}

{'Options'|gettext}

{'Idea visibility'|gettext}

{assign var=milestoneIdeaCount value=$milestone->countIdeas()} {if $milestoneIdeaCount} {/if}
    getConditionType() eq 'score'} style="display:block"{else}style="display:none;"{/if}>

{'Add refinement questions'|gettext}

{'Add additional questions to the idea submission form.'|gettext}

{'These fields are added in addition to those that are already on the submission form for this challenge.'|gettext}

{'Make the fields required if you want idea authors to have to complete the field before their idea can progress.'|gettext}

{foreach from=$milestonePostFields item=field} {if in_array($field->data.postfield_id,$postFieldIdsInMilestone)} {assign var=fieldActive value=true} {else} {assign var=fieldActive value=false} {/if} {/foreach}
{'Use'|gettext} {'Title'|gettext} {'Type'|gettext} {'Character Limit'|gettext} {'Required'|gettext} {'Delete'|gettext}
data.postfield_description)) ne 0}style="display:none;"{/if}>+ {'Add description'|gettext}
data.postfield_description)) eq 0}style="display:none;"{/if}> {'Description'|gettext}
{if $hubbub->isLL() && $hubbub->hubbub_arrOptions.insightsAVEnabled eq 1 && $category->hasPosts($category->data.category_id)} {/if}
{'Please add your options below'|gettext}
{foreach from=$postFieldOptions[$field->data.postfield_id] item=pfo}
{$pfo->data.postfieldoption_text}   X
{/foreach}
{'Add an option'|gettext}
{'Add new question'|gettext}
{if is_object($milestone)} {assign var=milestone_id value=$milestone->data.milestone_id} {else} {assign var=milestone_id value=0} {/if} {if $milestone->isLast($milestonesCollection) && !$milestone->isFirst($milestonesCollection)} {/if}
{if $milestone->data.milestone_id} {else} {/if}