]> git.mxchange.org Git - friendica.git/blob - view/templates/delegation.tpl
1faab170e9e64af62fa2003734016871c631c545
[friendica.git] / view / templates / delegation.tpl
1 <div id="delegation" class="generic-page-wrapper">
2         <h2>{{$l10n.title}}</h2>
3         <p id="identity-delegation-desc">{{$l10n.desc}}</p>
4         <p id="identity-delegation-choose">{{$l10n.choose}}</p>
5
6         <div id="identity-selector-wrapper" role="menu">
7                 <form action="delegation" method="post">
8
9 {{foreach $identities as $identity}}
10                 <div class="identity-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>
38
39         <p>
40                 <a href="settings/delegation" class="btn btn-primary"><i class="fa fa-cog"></i> {{$l10n.settings_label}}</a>
41         </p>
42 </div>