Commit Graph

60 Commits

Author SHA1 Message Date
montana-mil
6e6b0f9256 Merge pull request #860 from dod-ccpo/to-review-page
Basic Task Order Review Page
2019-06-04 10:59:03 -04:00
Montana
5fb44b39b0 Use default table styling for CLIN tables 2019-06-04 10:13:55 -04:00
dandds
4f8e9cddc8 Merge portfolio members routes with invitations.
`portfolios.create_member` now just sends an invitation, so it should be
with the invitation routes. This also de-duplicates the function for
sending a portfolio invitation email.
2019-06-03 15:57:49 -04:00
leigh-mil
7e8407ba1d Use portfolio_role_id in delete member url instead of user_id 2019-05-29 15:59:19 -04:00
dandds
e3ace36466 Use portfolio_role.id for updating primary point of contact.
Our forms should rely on role IDs for displaying user information on the
portfolio page. This way they are decoupled from user table data and can
eventually rely on invitation user data where an invitation has been
sent but a user does not exist yet.
2019-05-22 15:59:04 -04:00
dandds
0cdba66b0c Merge pull request #829 from dod-ccpo/portfolio-role-display
Use portfolio_role entity to display and update portfolio member info.
2019-05-20 09:37:55 -04:00
dandds
b716062a52 Place submit button inside form element for portfolio admin table 2019-05-16 08:35:02 -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
74422c57aa Use common "View" for translations
-also pipe translate in injected html for a flash
2019-05-13 09:28:47 -04:00
dandds
457b1f9523 Detangle the MultiStepModalForm modal-open link from the modal.
In order to place modal forms in other places on the page (so that forms
are not nested) it's necessary to move MultiStepModalForm links out of
the component. They just need to refer to the correct modal.

This PR also makes changes to ensure that the active modal is being
unset everywhere correctly when a modal is closed.
2019-05-08 11:16:56 -04:00
dandds
752a3a8f28 Use solid/filled Font Awesome icons for consistency.
Some of the "open" icons are not in the free FA tier, so rather than mix
the two we should use solid icons everywhere.
2019-05-02 13:19:33 -04:00
dandds
dd0b184bc2 extract new member form into standalone form class 2019-04-30 14:41:55 -04:00
dandds
e2f495973f Merge pull request #781 from dod-ccpo/route-rearrange
Route rearrange
2019-04-22 11:17:15 -04:00
dandds
78ba6afba0 rename and rearrange some portfolio route functions 2019-04-22 07:20:08 -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
leigh-mil
5f9a35e638 Move Modal call to inside the same component as the link to open the modal 2019-04-16 15:17:53 -04:00
leigh-mil
1e1d3c8326 Actually fix the issue with the new member form and the save button for port members 2019-04-16 14:56:09 -04:00
leigh-mil
309d959c79 Move panel footer outside of base-form so the modals will work 2019-04-16 11:22:43 -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
Montana
746d0edca9 Use panel__footer on portfolio_members table 2019-04-11 16:57:21 -04:00
Montana
ff54ef0a8a Generalize table headers and titles 2019-04-11 16:57:21 -04:00
Montana
ce8d219ad9 Use shared CSS for portfolio members table 2019-04-11 16:57:21 -04:00
Montana
4aec810417 Render all table elements; unstyled 2019-04-11 15:54:56 -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
090e13f083 Update Point of Contact 2019-04-08 13:31:00 -04:00
leigh-mil
5aae1691a2 Add modal functionality to BaseForm, use BaseForm and SaveButton in Portfolio members form 2019-04-08 09:42:35 -04:00
leigh-mil
1aaf4421ab Remove unnecessary savebutton vue component and create SaveButton Macro 2019-04-06 16:57:12 -04:00
rachel-dtr
53a66fdfab Adding language to translations file 2019-04-05 09:43:46 -04:00
rachel-dtr
d34e90a76c Updating language for deleting portfolio members 2019-04-04 14:32:51 -04:00
George Drummond
83b071bf20 Get changes working with merged PRs 2019-04-03 10:32:03 -04:00
George Drummond
a22b416c6a Open correct form id 2019-04-03 09:43:39 -04:00
George Drummond
bb5b8e2122 Fix incorrect modal id 2019-04-03 09:43:39 -04:00
George Drummond
6d7400b7d2 Add in correct modal close call 2019-04-03 09:43:39 -04:00
George Drummond
6f1eb43de4 Remove Portfolio User 2019-04-03 09:43:39 -04:00
montana-mil
91c3cc665f Merge pull request #728 from dod-ccpo/edit-perms-pf-members
Edit Portfolio Members Access Levels
2019-04-02 11:14:02 -04:00
rachel-dtr
7109860553 Continuing to clean up capitalization 2019-04-02 10:34:13 -04:00
Montana
d84eccbc83 Only update when permissions are different 2019-04-02 10:17:16 -04:00
Montana
d70332836b Only flash when permissions change 2019-04-02 10:17:16 -04:00
Montana
2d7e17e522 Success banner 2019-04-02 10:17:16 -04:00
Montana
a152c66e61 Add hidden input for passing dod id in form 2019-04-02 10:17:16 -04:00
dandds
77ed7d9ab6 prevent premature modal form submission with enter click 2019-03-27 14:07:06 -04:00
dandds
21a1cc4c1f various small fixes 2019-03-26 17:08:45 -04:00
dandds
d158f1ea7e rearrange admin template forms so that forms are not nested 2019-03-26 16:19:30 -04:00
dandds
c7ac967870 present flash message when new portfolio member is added 2019-03-26 15:49:06 -04:00
dandds
878a31ba19 style and template updates for adding a new portfolio user 2019-03-26 15:48:31 -04:00
Montana
fd64db8688 add a test 2019-03-26 15:28:43 -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