This branch brings about a good change, but I think having reason
and description be identical in the case of a failure and blank /
'SUCCESS' in the case of, well, success, is redundant and potentially
confusing. Also, if it's not used in the default template I doubt
anyone ever realizes it's there. :) Template editors can use
is_renewed to decide if they want to display success as a result
and that way the capitalization won't look like THE EIGHTIES have come
back in fashion again. :D
Signed-off-by: Jason Boyer <JBoyer@equinoxinitiative.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
new_due_date => $is_renewed ? $evt->{payload}->{circ}->due_date : '',
old_due_date => !$is_renewed ? $_->due_date() : '',
textcode => $evt->{textcode},
- description => $evt->{desc},
);
# Create the event from the source circ instead of the