Commit Graph

12 Commits

Author SHA1 Message Date
leigh-mil
7e8407ba1d Use portfolio_role_id in delete member url instead of user_id 2019-05-29 15:59:19 -04:00
dandds
c8682c0897 Use portfolio_role entity to display and update portfolio member info.
Previously, we were encoding the portfolio_role.user_id as part of the
form data for the portfolio admin page. This was convenient because it
allowed us to easily determine certain display attributes in the
template. Instead, we should rely on the PortfolioRole as the source of
truth for member information. This commit adds:

- Portfolio.owner_role to return the PortfolioRole of the owner
- explicitly passes the PortfolioRole IDs for the PPoC and current user
  to the template
- PortfolioRole.full_name for deriving the member name
2019-05-16 08:04:48 -04:00
Montana
29bb1aaf9c Clean up unused template imports 2019-04-19 11:49:41 -04:00
leigh-mil
f747edaaf3 Add PPoC tag and update styling for PPoC perms 2019-04-17 14:07:18 -04:00
dandds
2b06e281ae confirmation modal for deleting an application
- adds delete-confirmation Vue component
- refactors some button styles to make them globally available
2019-04-15 16:03:32 -04:00
leigh-mil
339ad64935 Disable delete button for ppoc 2019-04-09 11:03:43 -04:00
leigh-mil
32a7cbb80a Disable form fields for PPoC 2019-04-09 08:42:35 -04:00
George Drummond
83b071bf20 Get changes working with merged PRs 2019-04-03 10:32:03 -04:00
George Drummond
6f1eb43de4 Remove Portfolio User 2019-04-03 09:43:39 -04:00
Montana
a152c66e61 Add hidden input for passing dod id in form 2019-04-02 10:17:16 -04:00
Montana
34d4463665 Change form name in route and template 2019-03-26 14:49:54 -04:00
Montana
957630750a Handle View Only case 2019-03-26 14:41:49 -04:00