aboutsummaryrefslogtreecommitdiffstats
path: root/view/delegate.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/delegate.tpl')
-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 />
+