aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-12 23:06:41 -0700
committerfriendica <info@friendica.com>2012-04-12 23:06:41 -0700
commit3c4e6d34610ae4913d1d9ea090499c5d328a62e8 (patch)
treeffba2ebe12a5e47c96e9a3a4b2c73bd50c43cd55 /view
parentaf68d033e330e33571f95763b58833273d22d3a7 (diff)
downloadvolse-hubzilla-3c4e6d34610ae4913d1d9ea090499c5d328a62e8.tar.gz
volse-hubzilla-3c4e6d34610ae4913d1d9ea090499c5d328a62e8.tar.bz2
volse-hubzilla-3c4e6d34610ae4913d1d9ea090499c5d328a62e8.zip
bug #369 - show contacts who are not in any groups
Diffstat (limited to 'view')
-rw-r--r--view/group_side.tpl5
-rw-r--r--view/nogroup-template.tpl12
2 files changed, 17 insertions, 0 deletions
diff --git a/view/group_side.tpl b/view/group_side.tpl
index 0353b1d2c..ebb194d9c 100644
--- a/view/group_side.tpl
+++ b/view/group_side.tpl
@@ -23,6 +23,11 @@
<div id="sidebar-new-group">
<a href="group/new">$createtext</a>
</div>
+ {{ if $ungrouped }}
+ <div id="sidebar-ungrouped">
+ <a href="nogroup">$ungrouped</a>
+ </div>
+ {{ endif }}
</div>
diff --git a/view/nogroup-template.tpl b/view/nogroup-template.tpl
new file mode 100644
index 000000000..dd00ed097
--- /dev/null
+++ b/view/nogroup-template.tpl
@@ -0,0 +1,12 @@
+<h1>$header</h1>
+
+{{ for $contacts as $contact }}
+ {{ inc contact_template.tpl }}{{ endinc }}
+{{ endfor }}
+<div id="contact-edit-end"></div>
+
+$paginate
+
+
+
+