aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-11-01 15:45:02 -0700
committerfriendica <info@friendica.com>2012-11-01 15:45:02 -0700
commit9bf4508ffb626d1aa2c9591b700e985b00abe577 (patch)
tree4d2cbc18301ddad2bfe4447dc1a6ab5c32d99a94 /view
parentb400e4dfad16bfb346e08f5eee737064bc172f96 (diff)
downloadvolse-hubzilla-9bf4508ffb626d1aa2c9591b700e985b00abe577.tar.gz
volse-hubzilla-9bf4508ffb626d1aa2c9591b700e985b00abe577.tar.bz2
volse-hubzilla-9bf4508ffb626d1aa2c9591b700e985b00abe577.zip
cleanup channel management
Diffstat (limited to 'view')
-rw-r--r--view/css/mod_manage.css14
-rw-r--r--view/tpl/channel.tpl5
2 files changed, 19 insertions, 0 deletions
diff --git a/view/css/mod_manage.css b/view/css/mod_manage.css
new file mode 100644
index 000000000..5f06e5064
--- /dev/null
+++ b/view/css/mod_manage.css
@@ -0,0 +1,14 @@
+
+
+#channels-desc {
+ margin-top: 15px;
+ margin-bottom: 20px;
+}
+
+.channel-selection {
+ width: 120px;
+ float: left;
+}
+.channels-end {
+ clear: both;
+} \ No newline at end of file
diff --git a/view/tpl/channel.tpl b/view/tpl/channel.tpl
index 98c19caa5..9c8ded1d9 100644
--- a/view/tpl/channel.tpl
+++ b/view/tpl/channel.tpl
@@ -1,4 +1,9 @@
<div class="channel-selection">
+{{ if $channel.channel_primary }}
+<div class="channel-selection-primary primary">$msg_primary</div>
+{{ else }}
+<div class="channel-selection-primary"><a href="manage/$channel.channel_id/primary">$msg_make_primary</a></div>
+{{ endif }}
<a href="$channel.link" class="channel-selection-photo-link" title="$channel.channel_name"><img class="channel-photo" src="$channel.xchan_photo_m" alt="$channel.channel_name" /></a>
<a href="$channel.link" class="channel-selection-name-link" title="$channel.channel_name"><div class="channel-name">$channel.channel_name</div></a>
</div>