aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-08-30 22:42:51 -0700
committerfriendica <info@friendica.com>2012-08-30 22:42:51 -0700
commit4736fa5927b35ebd0b2fc337e9f4a3d1e1e0af0d (patch)
tree958c66211db81e27ab0bf77304a0763c900f2b45 /view
parent80bd128425b99d91ddca897bc2cd6dcef5268fe4 (diff)
downloadvolse-hubzilla-4736fa5927b35ebd0b2fc337e9f4a3d1e1e0af0d.tar.gz
volse-hubzilla-4736fa5927b35ebd0b2fc337e9f4a3d1e1e0af0d.tar.bz2
volse-hubzilla-4736fa5927b35ebd0b2fc337e9f4a3d1e1e0af0d.zip
begin channel management (was "manage") page, use term "channel" instead of the vague and hard to explain "identity"
Diffstat (limited to 'view')
-rw-r--r--view/tpl/channel.tpl2
-rw-r--r--view/tpl/channels.tpl19
2 files changed, 21 insertions, 0 deletions
diff --git a/view/tpl/channel.tpl b/view/tpl/channel.tpl
new file mode 100644
index 000000000..a18c4c1bb
--- /dev/null
+++ b/view/tpl/channel.tpl
@@ -0,0 +1,2 @@
+<img class="channel-photo" src="$channel.photo" alt="$channel.name" />
+<div class="channel-name">$channel.name</div>
diff --git a/view/tpl/channels.tpl b/view/tpl/channels.tpl
new file mode 100644
index 000000000..bfff3964f
--- /dev/null
+++ b/view/tpl/channels.tpl
@@ -0,0 +1,19 @@
+<h3>$header</h3>
+
+<div id="channels-desc" class="descriptive-text">$desc</div>
+
+{{ if $links }}
+{{ for $links as $l }}
+<a class="channels-links" href="$l.0" title="$l.1">$l.2</a>
+{{ endfor }}
+{{ endif }}
+
+<div align="center">{{ inc channel.tpl with $chn = $active }}</div>
+<div align="center">$act_desc</div>
+
+
+{{ for $all_channels as $chn }}
+{{ inc channel.tpl with $channel = $chn }}
+{{ endfor }}
+
+<div class="channels-end"></div>