This repository was archived by the owner on Aug 30, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
users/client/views/settings Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,12 @@ a:hover .header-profile-image {
26
26
padding-top : 11px !important ;
27
27
padding-bottom : 11px !important ;
28
28
}
29
+ .user-primary-account {
30
+ font-size : 30px ;
31
+ top : 10px ;
32
+ right : 10px ;
33
+ position : absolute;
34
+ }
29
35
.error-text {
30
36
display : none;
31
37
}
Original file line number Diff line number Diff line change 1
1
< section class ="row " ng-controller ="SocialAccountsController ">
2
2
< h3 class ="col-md-12 text-center " ng-show ="hasConnectedAdditionalSocialAccounts() "> Connected social accounts:</ h3 >
3
3
< div class ="col-md-12 text-center ">
4
+ <!-- If the user's provider field (primary) is a social account, show it here -->
5
+ < div ng-hide ="user.provider === 'local' " class ="social-account-container ">
6
+ < img ng-src ="/modules/users/client/img/buttons/{{user.provider}}.png ">
7
+ < i class ="glyphicon glyphicon-check text-success user-primary-account " data-toggle ="popover " title ="Primary: {{user.provider}} "> </ i >
8
+ </ div >
4
9
< div ng-repeat ="(providerName, providerData) in user.additionalProvidersData " class ="social-account-container ">
5
10
< img ng-src ="/modules/users/client/img/buttons/{{providerName}}.png ">
6
11
< a class ="btn btn-danger btn-remove-account " ng-click ="removeUserSocialAccount(providerName) ">
You can’t perform that action at this time.
0 commit comments