rework SSO associations table, closes nodebb/nodebb#5955

main
Julian Lam 7 years ago
parent 415d663f57
commit 456ecff1bc

@ -124,11 +124,16 @@
<label class="control-label">[[user:sso.title]]</label>
<div class="list-group">
<!-- BEGIN sso -->
<a class="list-group-item" href="{../url}" target="<!-- IF ../associated -->_blank<!-- ELSE -->_top<!-- ENDIF ../associated -->">
<!-- IF ../icon --><i class="fa {../icon}"></i><!-- ENDIF ../icon -->
<!-- IF ../associated -->[[user:sso.associated]]<!-- ELSE -->[[user:sso.not-associated]]<!-- ENDIF ../associated -->
{../name}
</a>
<div class="list-group-item">
<!-- IF ../deauthUrl -->
<a class="btn btn-default btn-xs pull-right" href="{../deauthUrl}">[[user:sso.dissociate]]</a>
<!-- END -->
<a href="{../url}" target="<!-- IF ../associated -->_blank<!-- ELSE -->_top<!-- ENDIF ../associated -->">
<!-- IF ../icon --><i class="fa {../icon}"></i><!-- ENDIF ../icon -->
<!-- IF ../associated -->[[user:sso.associated]]<!-- ELSE -->[[user:sso.not-associated]]<!-- ENDIF ../associated -->
{../name}
</a>
</div>
<!-- END sso -->
</div>
</div>

Loading…
Cancel
Save