Commit ff409765500b7416650f17623b98292fd3ae09df
1 parent
bd6c14ab
Exists in
staging
and in
4 other branches
Removed override in method 'reject_details' on subclasses of Task model. Now by …
…default the text area for reject explanation is always showedin every task
Showing
7 changed files
with
0 additions
and
28 deletions
Show diff stats
app/models/abuse_complaint.rb
app/models/approve_article.rb
app/models/approve_comment.rb
app/models/create_community.rb
app/models/create_enterprise.rb
| ... | ... | @@ -158,10 +158,6 @@ class CreateEnterprise < Task |
| 158 | 158 | {:message => _('%{requestor} wants to create enterprise %{subject}.')} |
| 159 | 159 | end |
| 160 | 160 | |
| 161 | - def reject_details | |
| 162 | - true | |
| 163 | - end | |
| 164 | - | |
| 165 | 161 | def task_created_message |
| 166 | 162 | _('Your request for registering enterprise "%{enterprise}" at %{environment} was just received. It will be reviewed by the validator organization of your choice, according to its methods and criteria. |
| 167 | 163 | ... | ... |
plugins/bsc/lib/bsc_plugin/associate_enterprise.rb
plugins/sub_organizations/lib/sub_organizations_plugin/approve_paternity.rb
| ... | ... | @@ -28,10 +28,6 @@ class SubOrganizationsPlugin::ApprovePaternity < Task |
| 28 | 28 | {:message => _('%{requestor} wants to add this organization as a sub-organization of %{linked_subject}.')} |
| 29 | 29 | end |
| 30 | 30 | |
| 31 | - def reject_details | |
| 32 | - true | |
| 33 | - end | |
| 34 | - | |
| 35 | 31 | def icon |
| 36 | 32 | {:type => :profile_image, :profile => parent, :url => parent.url} |
| 37 | 33 | end | ... | ... |