aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/tpl/delegate.tpl
blob: cbaa8da8603ca40da0e7b2e0a908c57fbfe4ac05 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<h3>{{$header}}</h3>

<div id="delegate-desc" class="delegate-desc">{{$desc}}</div>

{{if $managers}}
<h3>{{$head_managers}}</h3>

{{foreach $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}} ({{$x.nickname}})" />
</a>
</div>

{{/foreach}}
<div class="clear"></div>
<hr />
{{/if}}


<h3>{{$head_delegates}}</h3>

{{if $delegates}}
{{foreach $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}} ({{$x.nickname}})" />
</a>
</div>

{{/foreach}}
<div class="clear"></div>
{{else}}
{{$none}}
{{/if}}
<hr />


<h3>{{$head_potentials}}</h3>
{{if $potentials}}
{{foreach $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}} ({{$x.nickname}})" />
</a>
</div>

{{/foreach}}
<div class="clear"></div>
{{else}}
{{$none}}
{{/if}}
<hr />