From 5b0a17359d6b5b3e27219c9e56117f1017996175 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sat, 2 Jan 2016 23:39:57 -0800 Subject: Provide the ability for a hub admin to specify a default permissions role for the first channel created by a new account. This simplifies channel creation by restricting the available options at registration time. The restriction is not applied to any additional channels created under the same account; and in any event can be changed immediately after channel creation, if desired. --- view/tpl/new_channel.tpl | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/new_channel.tpl b/view/tpl/new_channel.tpl index f78a3fc2d..46b32b8a9 100755 --- a/view/tpl/new_channel.tpl +++ b/view/tpl/new_channel.tpl @@ -5,10 +5,13 @@
{{$desc}}
-
{{$help_role}}
- {{include file="field_select_grouped.tpl" field=$role}} -
- + {{if $default_role}} + + {{else}} +
{{$help_role}}
+ {{include file="field_select_grouped.tpl" field=$role}} +
+ {{/if}} -- cgit v1.2.3