Problem/Motivation
When administrators edit a profile they see an activate and deactivate button. They should only see "save", as the concept of active and inactive is internal to preserve references.
Proposed resolution
Only show "save" which saves the profile as active. Maybe a "save and make default"?
Remaining tasks
Get 'er done.
User interface changes
Profile types that do not support multiple will only show "save"
| Comment | File | Size | Author |
|---|---|---|---|
| #19 | do_not_show_the_option-2639880-19.patch | 9.75 KB | mglaman |
| #16 | do_not_show_the_option-2639880-16.patch | 8.66 KB | mglaman |
Comments
Comment #2
mglamanIn the idea of "active" versus "inactive" is to preserve entity reference values, not a state that should be exposed to the end user.
Comment #3
mglamanNot even "save as active," just "save" :)
Comment #4
subhojit777+1
Comment #5
subhojit777Only a save button? Don't you think it will a bit absurd with just a save button and no action.
Comment #6
subhojit777Comment #7
subhojit777Comment #8
subhojit777Do we need tests as well?
Comment #9
mglamanComment #10
subhojit777@mglaman This is the test I was talking about in IRC. Can you please what I am missing.
Comment #13
mglamanRe-running against latest HEAD
Comment #16
mglamanOk, here is a re-vamp that keeps a "Save", "Save Default" and "Delete". The "Save Default" shows/hides based on if current is a default.
Comment #19
mglamanI think this is it!
Comment #21
mglaman