Userprofile

1. I have added a second call to fetch the info i need for the profile page. I am wondering if this extra info shouldn't be returned from the auth call, because this breaks the current login test.

2. This profile page only works correctly when you log in as root. otherwise, it returns authorized.

3. should there be a separate endpoint to fetch and update the profile? I am currently using /users/
Sorry about that, my branch was far behind the latest code and martin had
some css changes and ui changes that I needed to reuse in my branch, so I
pulled in the transactions branch to get those changes.


On Thu, Jul 10, 2014 at 2:35 PM, Ryan Crichton <notifications@github.com>
wrote:

> In app/scripts/controllers/transactionDetails.js:
>
> > +        $scope.returnError(err.status);
> > +      });
> > +
> > +    };
> > +    //run the transaction list view for the first time
> > +    $scope.fetchChildTransactions();
> > +
> > +
> > +    //location provider - load transaction details
> > +    $scope.viewTransactionDetails = function (path) {
> > +      //do transactions details redirection when clicked on TD
> > +      $location.path(path);
> > +    };
> > +    /*------------------------Transactions List and Detail view functions----------------------------*/
> > +
> > +
>
> It seems like the above comes from a recent commit to a transactions
> branch that you guys were working on. We should try keep these commit that
> aren't related to the uer profile out of this branch so until they have
> been merged to master. Then I can see a clean diff of the work done. Just
> something to keep in mind for next time.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/jembi/openhim-console/pull/40/files#r14762768>.
>



-- 
Duma Mtungwa
Software Developer
Mobile: +27 72 806 9205
-massacre-