aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-01-28 15:56:31 -0800
committerzotlabs <mike@macgirvin.com>2018-01-28 15:56:31 -0800
commitc3e365ef4718e4c9d06eb962cb3deeb9fb39a2d9 (patch)
tree6e96960fef9442e3053705f90b237107a18657aa /view
parent21f464a5577e84b808fd56efdc49117a64c8dc30 (diff)
downloadvolse-hubzilla-c3e365ef4718e4c9d06eb962cb3deeb9fb39a2d9.tar.gz
volse-hubzilla-c3e365ef4718e4c9d06eb962cb3deeb9fb39a2d9.tar.bz2
volse-hubzilla-c3e365ef4718e4c9d06eb962cb3deeb9fb39a2d9.zip
Surface the ability to change the landing page after channel creation and create a 'go' module to present several possible things to do at this point. Change the default from 'settings' to 'profiles' so that the focus is more on you rather than the software configuration.
Diffstat (limited to 'view')
-rw-r--r--view/pdl/mod_go.pdl6
-rwxr-xr-xview/tpl/admin_site.tpl1
-rw-r--r--view/tpl/go.tpl16
3 files changed, 23 insertions, 0 deletions
diff --git a/view/pdl/mod_go.pdl b/view/pdl/mod_go.pdl
new file mode 100644
index 000000000..c34898dd5
--- /dev/null
+++ b/view/pdl/mod_go.pdl
@@ -0,0 +1,6 @@
+[region=aside]
+[widget=fullprofile][/widget]
+[/region]
+[region=right_aside]
+[widget=notifications][/widget]
+[/region]
diff --git a/view/tpl/admin_site.tpl b/view/tpl/admin_site.tpl
index 50482f03d..0eabe620d 100755
--- a/view/tpl/admin_site.tpl
+++ b/view/tpl/admin_site.tpl
@@ -74,6 +74,7 @@
{{include file="field_select.tpl" field=$access_policy}}
{{include file="field_input.tpl" field=$location}}
{{include file="field_input.tpl" field=$sellpage}}
+ {{include file="field_input.tpl" field=$firstpage}}
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
diff --git a/view/tpl/go.tpl b/view/tpl/go.tpl
new file mode 100644
index 000000000..f0f9ee79e
--- /dev/null
+++ b/view/tpl/go.tpl
@@ -0,0 +1,16 @@
+<h2>{{$title}}</h2>
+
+<div class="descriptive-text">
+ <p>{{$m}}</p>
+ <p>{{$m1}}</p>
+</div>
+
+{{if $options}}
+<ul class="nav nav-pills flex-column">
+{{foreach $options as $k => $v}}
+ <li class="nav-item"><a href="{{$k}}" class="nav-link">{{$v}}</a></li>
+{{/foreach}}
+</ul>
+{{/if}}
+
+