]> git.mxchange.org Git - friendica.git/blob - view/templates/delegation.tpl
wrapping up 2019.12
[friendica.git] / view / templates / delegation.tpl
1
2 <h3>{{$title}}</h3>
3 <div id="identity-delegation-desc">{{$desc nofilter}}</div>
4 <div id="identity-delegation-choose">{{$choose}}</div>
5
6 <div id="identity-selector-wrapper" role="menu">
7         <form action="delegation" method="post">
8
9         {{foreach $identities as $identity}}
10                 <div class="itentity-match-wrapper {{if $identity.selected}}selected-identity{{/if}}" id="identity-match-{{$identity.uid}}">
11                         <div class="identity-match-photo" id="identity-match-photo-{{$identity.uid}}">
12                                 <button type="submit" name="identity" value="{{$identity.uid}}" title="{{$identity.username}}">
13                                         <img src="{{$identity.thumb}}" alt="{{$identity.username}}" />
14                                         {{if $identity.notifications}}<span class="delegation-notify badge">{{$identity.notifications}}</span>{{/if}}
15                                 </button>
16                         </div>
17
18                         <div class="identity-match-break"></div>
19
20                         <div class="identity-match-desc">
21                                 <div class="identity-match-name" id="identity-match-name-{{$identity.uid}}">
22                                         {{if $identity.selected}}
23                                                 {{$identity.username}}
24                                         {{else}}
25                                                 <button type="submit" name="identity" class="btn-link" value="{{$identity.uid}}">{{$identity.username}}</button>
26                                         {{/if}}
27                                 </div>
28                                 <div class="identity-match-details" id="identity-match-nick-{{$identity.uid}}">({{$identity.nickname}})</div>
29                         </div>
30                         <div class="identity-match-end"></div>
31                 </div>
32         {{/foreach}}
33
34         <div class="identity-match-break"></div>
35
36         </form>
37 </div>