]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/manage.tpl
Merge pull request #5261 from annando/and-again-abstraction
[friendica.git] / view / templates / manage.tpl
index 8a7922d7be3149c357858fdbb13b236ee3ab7fd0..dd27092e9badb689925bc4bc940c5be704a2237e 100644 (file)
@@ -3,7 +3,7 @@
 <div id="identity-manage-desc">{{$desc}}</div>
 <div id="identity-manage-choose">{{$choose}}</div>
 
-<div id="identity-selector-wrapper">
+<div id="identity-selector-wrapper" role="menu">
        <form action="manage" method="post" >
 
        {{foreach $identities as $id}}
                        <div class="identity-match-photo" id="identity-match-photo-{{$id.uid}}">
                                <button name="identity" value="{{$id.uid}}" onclick="this.form.submit();" title="{{$id.username}}">
                                        <img src="{{$id.thumb}}" alt="{{$id.username}}" />
+                                       {{if $id.notifications}}<span class="manage-notify">{{$id.notifications}}</span>{{/if}}
                                </button>
                        </div>
 
                        <div class="identity-match-break"></div>
 
                        <div class="identity-match-desc">
-                               <div class="identity-match-name" id="identity-match-name-{{$id.uid}}">{{$id.username}}</div>
+                               <div class="identity-match-name" id="identity-match-name-{{$id.uid}}">
+                                       {{if $id.selected}}{{$id.username}}{{else}}<a role="menuitem" href="manage?identity={{$id.uid}}">{{$id.username}}</a>{{/if}}
+                               </div>
                                <div class="identity-match-details" id="identity-match-nick-{{$id.uid}}">({{$id.nickname}})</div>
                        </div>
-
                        <div class="identity-match-end"></div>
                </div>
        {{/foreach}}
 
+       <div class="identity-match-break"></div>
+
        </form>
 </div>
-       
-       
\ No newline at end of file