richard-dds
e9588221e7
Merge pull request #394 from dod-ccpo/revoke-member-access
...
Revoke members' environment access
2018-10-25 10:26:36 -04:00
Patrick Smith
880d40d5ec
Use hidden input to track environment names
...
Since we're using ally.js for modals, when the modal is open, other
elements are disabled. Since the form is submitted when the "Create"
button is clicked and browsers do not submit disabled form fields, the
form was not submitting environment names when creating a project.
This workaround creates hidden inputs to track the environment names.
Since they're hidden, they are not disabled by ally.js, so the fields
are properly submitted.
This should be the only form affected, since this is the only form
submitted via a modal button.
2018-10-24 16:39:21 -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
leigh-mil
ae2c1f8918
Fix from merge conflict
2018-10-23 13:45:04 -04:00
leigh-mil
0dd9ab9684
Move Enviroment error message div to New Project form
2018-10-23 13:43:13 -04:00
leigh-mil
4bd42a7bc0
Remove v-on:submit attribute since form is no longer hooked into Vue
2018-10-23 13:43:13 -04:00
leigh-mil
2455618268
Remove unused imports
2018-10-23 13:43:13 -04:00
leigh-mil
92fc5e6e76
Add in environment section to Edit Project Page
2018-10-23 13:43:13 -04:00
leigh-mil
c5bc10d8c3
Refactory Edit Project Form to simplify and use Edit Project fragment
2018-10-23 13:43:13 -04:00
leigh-mil
6de48837fa
Refactor New Project Form to remove conditional logic and include fields relevant to new project
2018-10-23 13:43:13 -04:00
leigh-mil
3040115162
Remove WIP alert
2018-10-23 13:41:20 -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
richard-dds
ad49d3f71f
Merge pull request #359 from dod-ccpo/task-order-expiration
...
Fix report display for task order with no expiration date
2018-10-02 10:11:28 -04:00
richard-dds
fc754250dd
Check that remaining_days is not None
2018-10-01 16:17:38 -04:00
andrewdds
df6a0527c3
Merge pull request #355 from dod-ccpo/ui/ie-fixes
...
IE fixes
2018-10-01 14:56:38 -04:00
richard-dds
1750c268f7
Fix report display for task order with no expiration date
2018-10-01 13:32:01 -04:00
montana-mil
388ff899a2
Merge pull request #343 from dod-ccpo/more-tests-for-workspaces
...
Add more tests for workspaces routes
2018-10-01 13:23:47 -04:00
Patrick Smith
4577a37bad
Hide edit project link for users that cannot edit projects
2018-09-30 22:23:52 -04:00
Montana
927741eb73
Add a warning on edit project page
2018-09-28 10:05:20 -04:00
Andrew Croce
c88f2a1a56
add missing fallback meter
2018-09-27 11:46:42 -04:00
Jason Garber - Ctr
50dc4acfa5
Grammar fix to 'no projects' message
...
Just some capitalization and compound word fixes.
2018-09-26 13:56:28 -04:00
Patrick Smith
648964dc1e
Hook up the "Add Environment Access" link when adding a member
2018-09-25 16:44:40 -04:00
richard-dds
51bc6fb950
Give members/index Environments column a right alignment
2018-09-25 14:14:01 -04:00
dandds
d0c1bc563f
Merge pull request #328 from dod-ccpo/workspace-empty-state-#160732667
...
Empty state for workspace reports should show existing projects
2018-09-25 13:39:23 -04:00
dandds
3c7b5a083d
always display at least current month on reports select menu
2018-09-25 13:20:15 -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