mirror of
https://github.com/openMF/community-app.git
synced 2026-02-06 14:11:54 +00:00
MIFOSX-1020 Addition of fields and allignment changes in User Profile Page
This commit is contained in:
parent
8424767c75
commit
862da7fe00
@ -346,6 +346,8 @@
|
||||
"label.heading.logout":"Logout",
|
||||
"label.heading.search":"Search",
|
||||
"label.heading.help":"Help",
|
||||
"label.heading.language":"Language",
|
||||
"label.heading.primaryemail":"Primary Email",
|
||||
|
||||
|
||||
"#Menu Links": "..",
|
||||
|
||||
@ -2,6 +2,9 @@
|
||||
mifosX.controllers = _.extend(module, {
|
||||
ProfileController: function (scope, localStorageService, resourceFactory, $modal) {
|
||||
scope.userDetails = localStorageService.get('userData');
|
||||
resourceFactory.userListResource.get({userId: scope.userDetails.userId}, function (data) {
|
||||
scope.user = data;
|
||||
});
|
||||
scope.status = 'Not Authenticated';
|
||||
if (scope.userDetails.authenticated == true) {
|
||||
scope.status = 'Authenticated';
|
||||
|
||||
@ -62,10 +62,21 @@
|
||||
<th>{{ 'label.heading.status' | translate }}</th>
|
||||
<td>{{status}}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>{{ 'label.heading.language' | translate }}</th>
|
||||
<td>{{optlang.name}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{{ 'label.heading.primaryemail' | translate }}</th>
|
||||
<td>{{user.email}}</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-10 col-md-10">
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-6 col-md-6">
|
||||
<table class="table view-table table-bordered">
|
||||
<tr class="graybg">
|
||||
<th>{{ 'label.heading.role' | translate }}</th>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user