Closed (fixed)
Project:
User Relationships
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
20 Mar 2011 at 18:58 UTC
Updated:
16 Apr 2011 at 08:32 UTC
Jump to comment: Most recent file
Comments
Comment #1
berdirComment #2
BenK commentedThis is a good idea... would simplify things quite a bit.
Comment #3
berdirAnd here is a patch, hides the request expires textfield if approval is not necessary and hides the reciprocal setting if a relationship is not one-way
Comment #4
BenK commentedThe patch in #3 works nicely. Settings are being hidden as expected and it's a nice simplification of the form.
Only one thing I noticed: If you uncheck "Requires approval", then "Request expires in" hides nicely. But if you go back and look at the relationship types list at admin/config/people/relationships, then it still shows the expiration time (in my case "6 days") in the "Expiration" column. Since this expiration setting doesn't make sense unless "Requires approval" is selected, shouldn't the relationship types list just show nothing under the expiration column?
--Ben
Comment #5
berdirThat's a separate issue, let's deal with that in #1103458: Remove columns from relationship type list. We could for example take those two values together in a single column and then display something like Approval: Yes (expiration of 6 days) / Yes / No.
If that was the only thing, then I'm going to commit the patch here..
Comment #6
BenK commentedYes, that was the only thing. So go ahead and commit! :-)
--Ben
Comment #7
berdirOk, commited.