aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-01-26 20:08:02 -0800
committerfriendica <info@friendica.com>2012-01-26 20:08:02 -0800
commit068cb53a9ea44cf276c6b0e39ef92182b883d5fa (patch)
tree83a4dba7b831f74fb6e94e144dc2d794572750a1 /view
parent167ab537b51cf76016e89c705aca812968cb6b82 (diff)
downloadvolse-hubzilla-068cb53a9ea44cf276c6b0e39ef92182b883d5fa.tar.gz
volse-hubzilla-068cb53a9ea44cf276c6b0e39ef92182b883d5fa.tar.bz2
volse-hubzilla-068cb53a9ea44cf276c6b0e39ef92182b883d5fa.zip
page delegation
Diffstat (limited to 'view')
-rw-r--r--view/delegate.tpl57
1 files changed, 57 insertions, 0 deletions
diff --git a/view/delegate.tpl b/view/delegate.tpl
new file mode 100644
index 000000000..a12368216
--- /dev/null
+++ b/view/delegate.tpl
@@ -0,0 +1,57 @@
+<h3>$header</h3>
+
+<div id="delegate-desc" class="delegate-desc">$desc</div>
+
+{{ if $managers }}
+<h3>$head_managers</h3>
+
+{{ for $managers as $x }}
+
+<div class="contact-block-div">
+<a class="contact-block-link" href="#" >
+<img class="contact-block-img" src="$base/photo/thumb/$x.uid" title="$x.username" />
+</a>
+</div>
+
+{{ endfor }}
+<div class="clear"></div>
+<hr />
+{{ endif }}
+
+
+<h3>$head_delegates</h3>
+
+{{ if $delegates }}
+{{ for $delegates as $x }}
+
+<div class="contact-block-div">
+<a class="contact-block-link" href="$base/delegate/remove/$x.uid" >
+<img class="contact-block-img" src="$base/photo/thumb/$x.uid" title="$x.username" />
+</a>
+</div>
+
+{{ endfor }}
+<div class="clear"></div>
+{{ else }}
+$none
+{{ endif }}
+<hr />
+
+
+<h3>$head_potentials</h3>
+{{ if $potentials }}
+{{ for $potentials as $x }}
+
+<div class="contact-block-div">
+<a class="contact-block-link" href="$base/delegate/add/$x.uid" >
+<img class="contact-block-img" src="$base/photo/thumb/$x.uid" title="$x.username" />
+</a>
+</div>
+
+{{ endfor }}
+<div class="clear"></div>
+{{ else }}
+$none
+{{ endif }}
+<hr />
+