aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-07-04 23:20:35 -0700
committerzotlabs <mike@macgirvin.com>2018-07-04 23:20:35 -0700
commitf6e8ce5516eeaf2e0525f69099d68a55df9501e3 (patch)
tree95567186aa874db9fbb809f10c6d9b5dedd41b34 /view
parent51a2e64a897e5afdb3e607915534a1562a215563 (diff)
downloadvolse-hubzilla-f6e8ce5516eeaf2e0525f69099d68a55df9501e3.tar.gz
volse-hubzilla-f6e8ce5516eeaf2e0525f69099d68a55df9501e3.tar.bz2
volse-hubzilla-f6e8ce5516eeaf2e0525f69099d68a55df9501e3.zip
appstore changes
Diffstat (limited to 'view')
-rw-r--r--view/pdl/mod_apps.pdl1
-rw-r--r--view/tpl/appstore.tpl8
2 files changed, 9 insertions, 0 deletions
diff --git a/view/pdl/mod_apps.pdl b/view/pdl/mod_apps.pdl
index 8bd407372..32e2ce560 100644
--- a/view/pdl/mod_apps.pdl
+++ b/view/pdl/mod_apps.pdl
@@ -1,4 +1,5 @@
[region=aside]
+[widget=appstore][/widget]
[widget=appcategories][/widget]
[/region]
[region=right_aside]
diff --git a/view/tpl/appstore.tpl b/view/tpl/appstore.tpl
new file mode 100644
index 000000000..47f144752
--- /dev/null
+++ b/view/tpl/appstore.tpl
@@ -0,0 +1,8 @@
+<div class="widget">
+<h3>{{$title}}</h3>
+<ul class="nav nav-pills flex-column">
+{{foreach $options as $x}}
+ <li class="nav-item"><a href="{{$x.0}}" class="nav-link{{if $x.2}} active{{/if}}">{{$x.1}}</a></li>
+{{/foreach}}
+</ul>
+</div>