{if empty($hub.id)}[`New hub`]{else}{$hub.name|default:'[`(no name)`]'|escape}{/if}

[`Hub name`]
[`Privacy`]
{if empty($routes)}

[`Specify the public URL for this new hub on your site:`]

{strip} {if count($domains) > 1}   {else} {/if} / {/strip}

{/if}
[`Kudos`]

[`Kudos are a rating based on user activity in discussions and community, and on how it’s rated by other users.`]

[`Topics`]: {sprintf('[`+1 vote for user’s topic gives +%s kudos`]', sprintf('', $hub_params.kudos_per_topic|default:'2'|escape))}
[`Answers`]: {sprintf('[`+1 vote for user’s answer gives +%s kudos`]', sprintf('', $hub_params.kudos_per_answer|default:'3'|escape))}
[`Comments`]: {sprintf('[`+1 vote for user’s comment gives +%s kudos`]', sprintf('', $hub_params.kudos_per_comment|default:'1'|escape))}
{*
[`Topic popularity index`]
(slider) [`Overall user rating`]
(slider) [`Number of views`]
(slider) [`Number of votes`]
(slider) [`Number of comments`]
(slider) [`Age (newest topics are most popular)`]

[`Popularity index is a combined hidden topic parameter used for sorting topics in categories and search results.`]

*}
[`Staff`]

[`List key users who participate in hub frontend discussions so their topics are marked with special badges.`]

{foreach $staff as $contact_id=>$staff_member} {/foreach}
    [`User name`] [`Badge (role)`]    
[`Access rights`]

[`Access to this hub will be restricted to backend users only. Use Team app to customize user access rights to this hub.`]

[`Hub color marker`]

[`Backend only. All topics of this hub will be marked with the selected color. Recommended if you have multiple hubs.`]

[`Allowed topic types`]
[`Allowed actions for authorized website visitors`]
{* type delete dialog*} {if !empty($hub.id)}

[`Delete hub`]

{if $hub.topics_count}

{sprintf('[`Number of topics in this hub: %d. By deleting this hub you can either move topics to another hub or delete them entirely.`]',$hub.topics_count,$hub.name|escape)}


{else}

[`This hub does not contain any topics, so you can safely delete it. No topics will be affected.`]

{/if}
[`or`] [`close`]
{/if}