Merge pull request #1987 from annando/1510-manage-enhancements

Some small optical and structural changes to the manage template
This commit is contained in:
Tobias Diekershoff 2015-10-27 09:01:35 +01:00
commit 367699f785
3 changed files with 13 additions and 4 deletions

View file

@ -97,6 +97,12 @@ function manage_content(&$a) {
return;
}
if ($_GET['identity']) {
$_POST['identity'] = $_GET['identity'];
manage_post($a);
return;
}
$identities = $a->identities;
//getting additinal information for each identity

View file

@ -252,6 +252,7 @@ a {
background: none;
height: 80px;
width: 80px;
cursor: pointer;
}
.selected-identity img {

View 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}}
@ -17,7 +17,9 @@
<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>
@ -25,7 +27,7 @@
</div>
{{/foreach}}
<div class="identity-match-break"></div>
</form>
</div>