Commit b161a688cd557b6cf9401d1328548a5af577efa6
1 parent
b520bd1f
Exists in
master
and in
29 other branches
ActionItem16: using explanation text in cancel_message sent to requestor
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@869 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/create_enterprise.rb
@@ -122,7 +122,7 @@ class CreateEnterprise < Task | @@ -122,7 +122,7 @@ class CreateEnterprise < Task | ||
122 | end | 122 | end |
123 | 123 | ||
124 | def task_cancelled_message | 124 | def task_cancelled_message |
125 | - _('Your request for registering the enterprise %{enterprise} at %{environment} was NOT approved by the validator organization.') % { :enterprise => self.name, :environment => self.environment } | 125 | + _('Your request for registering the enterprise %{enterprise} at %{environment} was NOT approved by the validator organization. The following explanation was give: \n\n%{explanation}') % { :enterprise => self.name, :environment => self.environment, :explanation => self.reject_explanation } |
126 | end | 126 | end |
127 | 127 | ||
128 | def target_notification_message | 128 | def target_notification_message |