Commit Graph

57 Commits

Author SHA1 Message Date
dandds
9ad3c45200 rename Project to Application in user-facing contexts 2019-01-14 16:00:17 -05:00
dandds
142395f1e9 rename Workspace to Portfolio in user-facing contexts 2019-01-14 16:00:17 -05:00
dandds
a2d6d59ca4 use flask flash for notifications 2018-12-10 12:31:41 -05:00
richard-dds
4b8c4e3a1d Show "Remove Workspace Access" button 2018-11-30 11:01:54 -05:00
richard-dds
8430b769f3 Ensure workspace access can be revoked 2018-11-29 10:37:20 -05:00
richard-dds
ae70a551a9 Hook up to button 2018-11-29 10:36:53 -05:00
leigh-mil
35b3565c0f Add is_revokable property to Invitation 2018-11-28 13:59:44 -05:00
Patrick Smith
fd6b0f9b24 Add vue component for confirmation popover
Have the confirmation popover in a separate Vue component fixes a bug in
IE that was causing the `form` element in the popover to be ignored.

Since `form`s cannot be nested, the `form` element in the popover was
being discarded by IE and the revoke/resend invitation buttons did
nothing.

Breaking the functionality into a Vue component moves the `form` into a
separate template. When the popover is displayed, the component is added
to the DOM at the end, so the `form` is properly not-nested.
2018-11-27 10:22:02 -05:00
richard-dds
f6b4b2444f Update confirmation copy 2018-11-13 14:39:45 -05:00
richard-dds
a725310535 Resend a workspace member's invite 2018-11-13 14:39:44 -05:00
dandds
4849a89125 working implementation of revoke invitation 2018-11-07 12:41:00 -05:00
dandds
5fc9dbd177 display error alert for users who had DOD ID conflict when accepting workspace invitation 2018-11-05 09:42:13 -05:00
Montana
f265eeb7f7 Use a safer name for Modal to avoid apostrophe issues 2018-10-30 10:01:45 -04:00
Andrew Croce
93ddde599d use the existing template filter 2018-10-29 15:28:55 -04:00
Andrew Croce
6746e63a2c remove string filter 2018-10-29 12:28:18 -04:00
Andrew Croce
eefc327193 use project ID to form the modal name 2018-10-29 12:16:40 -04:00
leigh-mil
20c50ebbfa Update link href 2018-10-29 09:44:43 -04:00
leigh-mil
3d4e8f4088 Add conditional logic to show Edit Account link 2018-10-26 15:33:19 -04:00
richard-dds
9bb77208e2 Fix radio buttons so they properly track the selected role 2018-10-24 11:19:03 -04:00
Patrick Smith
c7471f9e8b Use global events to revoke env access 2018-10-24 11:19:03 -04:00
richard-dds
cd9ae2c928 Allow roles to be revoked many times 2018-10-24 11:19:03 -04:00
richard-dds
783b47b2f7 Fix indentation 2018-10-24 11:19:03 -04:00
richard-dds
3ec786b632 Move modal so it doesn't shift the DOM 2018-10-24 11:17:44 -04:00
richard-dds
c138df2b0f Allow user to select 'No Access' 2018-10-24 11:17:44 -04:00
richard-dds
fcd16c1b3c Display 'no access' when role is revoked 2018-10-24 11:17:44 -04:00
richard-dds
0a3c43576f EditProjectRoles component 2018-10-24 11:17:44 -04:00
richard-dds
943ddcb5f2 Revoke access modal 2018-10-24 11:17:44 -04:00
richard-dds
ec6b6d272c Rename EditWorkspaceMember to EditEnvironmentRole 2018-10-24 11:17:44 -04:00
Andrew Croce
8da22f5941 Use buttons rather than links for js-clickable elements
Add some missing attributes for correct behavior/accessibility
2018-10-18 10:00:38 -04:00
Montana
f9d910efd7 Fix new lines 2018-10-16 16:45:13 -04:00
Montana
a50c3d92f9 Style the modal description 2018-10-16 15:41:15 -04:00
Montana
77b88b0b3c Add a description to env roles modal 2018-10-16 14:44:38 -04:00
Montana
6986213780 Cancel button redirects to members view page 2018-09-25 12:03:54 -04:00
Montana
e17ede4514 No destructuring in IE10 2018-09-25 11:13:24 -04:00
Montana
8fd1d93f2e Prevent saving environment roles as empty strings 2018-09-25 11:13:24 -04:00
Montana
83c4483c42 Pass environment role choices directly from the view to the template instead of via the form 2018-09-25 11:13:24 -04:00
Montana
e12c1f42db Move environment role method into domain 2018-09-25 11:13:24 -04:00
Montana
6d50c228af Fix bug that would save a user's modal selection even if the user canceled out of the modal 2018-09-25 11:13:24 -04:00
Montana
a8b777acda Infer if the user has no environment role 2018-09-25 11:13:23 -04:00
Montana
43a91e8c22 Display the environment role nicely 2018-09-25 11:13:23 -04:00
Montana
a1cf4335ce Use Vue to get label class dynamically 2018-09-25 11:13:23 -04:00
Montana
b973d3cf45 Clear the changed environment display if the user cancels out of modal 2018-09-25 11:13:23 -04:00
Montana
bf605d1ce6 Vue function to display the environment role in a friendlier format 2018-09-25 11:13:23 -04:00
Montana
bead1990c9 Let input value be simple 2018-09-25 11:13:23 -04:00
Montana
32d04bfce4 Make environment role display dynamic 2018-09-25 11:13:23 -04:00
Montana
f4c379ea25 Use modal inputs to pass environment id and env role to route 2018-09-25 11:13:23 -04:00
Montana
c0bb9e1024 Modal for each environment role 2018-09-25 11:13:22 -04:00
Montana
5a5d81eb7f Update the template to show real data 2018-09-25 11:13:22 -04:00
Montana
79c357dcab Write query to change the environment role based on mock data 2018-09-25 11:13:22 -04:00
Montana
c3da34e7cb Capture environment role from modal 2018-09-25 11:13:22 -04:00