Commit Graph

5 Commits

Author SHA1 Message Date
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
74422c57aa Use common "View" for translations
-also pipe translate in injected html for a flash
2019-05-13 09:28:47 -04:00
leigh-mil
f747edaaf3 Add PPoC tag and update styling for PPoC perms 2019-04-17 14:07:18 -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