Needs work
Project:
User Relationships
Version:
6.x-1.0-rc3
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Nov 2009 at 21:42 UTC
Updated:
14 May 2010 at 08:23 UTC
Currently elaboration message is shown when you try to appove a relationship. However if someone accidently clicks disapprove (or don't remember person's name ) it is easier they may misatkenly disapprove. So the same elaboration message should be shown when you click disapprove link too.
Comments
Comment #1
ajayg commentedAnd here is simple one line patch
In user_relatiosnhip_elaborations.module, function user_relationship_elaborations_form_alter change
from
to
Comment #2
Bilmar commentedsubscribing - interesting as this will allow an explanation for the user's disapproval as well
Comment #3
robby.smith commented+1 subscribing
Comment #4
ajayg commentedcan someone please review and confirm the patch is working for you?
Comment #5
alex.k commentedShowing elaboration is a good idea but it needs cleaning up. Since the record is deleted upon disapproval, we need to let the requester know what the elaboration message was, if it was edited. If I just insert the token @elaboration into disapproval message template, I don't get the edited message but only the original that was sent. So the text entered by the requestee doesn't go anywhere. The patch either needs to correct that, or show the elaboration read-only when disapproving so there's no possibility to edit it.