aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/new_channel.tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-05-07 17:31:53 -0700
committerzotlabs <mike@macgirvin.com>2018-05-07 17:31:53 -0700
commitaab16123b5188e69b31893263f7074f9e9c7f210 (patch)
tree846c57ffb6c1d421a6c8147df4ee650f4eb4db84 /view/tpl/new_channel.tpl
parent1f8b4b14a465193ba0dd061dd55a170e63aeb9ea (diff)
downloadvolse-hubzilla-aab16123b5188e69b31893263f7074f9e9c7f210.tar.gz
volse-hubzilla-aab16123b5188e69b31893263f7074f9e9c7f210.tar.bz2
volse-hubzilla-aab16123b5188e69b31893263f7074f9e9c7f210.zip
Simplify first channel creation even further by using a site-configurable default permissions role and removing one more conceptual roadblock for first time registrants. This default role only applies to the first channel an account creates and can be changed from the settings page once they've started to explore. This functionality was always present but optional and not well exposed. Now it is part of the standard workflow and exposed in the admin settings.
Diffstat (limited to 'view/tpl/new_channel.tpl')
-rwxr-xr-xview/tpl/new_channel.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/view/tpl/new_channel.tpl b/view/tpl/new_channel.tpl
index f415e4e2c..a89208228 100755
--- a/view/tpl/new_channel.tpl
+++ b/view/tpl/new_channel.tpl
@@ -3,6 +3,7 @@
<h2>{{$title}}</h2>
</div>
<div class="section-content-wrapper">
+ {{if ! $default_role}}
<div class="section-content-info-wrapper">
{{$desc}}
</div>
@@ -11,6 +12,7 @@
{{$channel_usage_message}}
</div>
{{/if}}
+ {{/if}}
<form action="new_channel" method="post" id="newchannel-form">
{{if $default_role}}
<input type="hidden" name="permissions_role" value="{{$default_role}}" />