Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
Jean-Philippe Lang
- Mon, 27 Nov 2006 22:45:10
Show More
0
redmine/app/controllers/issues_controller.rb
redmine/app/controllers/issues_controller.rb
+2
-2
@@
-93,11
+93,11
class IssuesController < ApplicationController
93
93
#@issue.assigned_to_id = (params[:issue][:assigned_to_id])
94
94
#@issue.done_ratio = (params[:issue][:done_ratio])
95
95
#@issue.lock_version = (params[:issue][:lock_version])
96
@issue . init_journal ( self . logged_in_user , params [ :notes ] )
96
journal = @issue . init_journal ( self . logged_in_user , params [ :notes ] )
97
97
@issue . status = @new_status
98
98
if @issue . update_attributes ( params [ :issue ] )
99
99
flash [ :notice ] = l ( :notice_successful_update )
100
Mailer . deliver_issue_change_status ( @issue) if Permission . find_by_controller_and_action ( @params [ :controller ] , @params [ :action ] ) . mail_enabled?
100
Mailer . deliver_issue_edit ( journal ) if Permission . find_by_controller_and_action ( @params [ :controller ] , @params [ :action ] ) . mail_enabled?
101
101
redirect_to :action => 'show' , :id => @issue
102
102
end
103
103
rescue ActiveRecord :: StaleObjectError
0
redmine/app/models/mailer.rb
redmine/app/models/mailer.rb
+3
-1
@@
-15,7
+15,9
15
15
# along with this program; if not, write to the Free Software
16
16
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17
17
18
class Mailer < ActionMailer :: Base
18
class Mailer < ActionMailer :: Base
19
20
helper IssuesHelper
19
21
20
22
def issue_add ( issue )
21
23
# Sends to all project members
0
redmine/app/views/mailer/issue_edit_de.rhtml
redmine/app/views/mailer/issue_edit_de.rhtml
+1
-1
@@
-1,7
+1,7
1
1
Issue # <%= @issue . id %> has been updated.
2
2
<%= @journal . user . name %>
3
3
<% for detail in @journal . details %>
4
<%= show_detail ( detail ) %>
4
<%= show_detail ( detail , true ) %>
5
5
<% end %>
6
6
<%= @journal . notes if @journal . notes? %>
7
7
----------------------------------------
0
redmine/app/views/mailer/issue_edit_en.rhtml
redmine/app/views/mailer/issue_edit_en.rhtml
+1
-1
@@
-1,7
+1,7
1
1
Issue # <%= @issue . id %> has been updated.
2
2
<%= @journal . user . name %>
3
3
<% for detail in @journal . details %>
4
<%= show_detail ( detail ) %>
4
<%= show_detail ( detail , true ) %>
5
5
<% end %>
6
6
<%= @journal . notes if @journal . notes? %>
7
7
----------------------------------------
0
redmine/app/views/mailer/issue_edit_es.rhtml
redmine/app/views/mailer/issue_edit_es.rhtml
+1
-1
@@
-1,7
+1,7
1
1
Issue # <%= @issue . id %> has been updated.
2
2
<%= @journal . user . name %>
3
3
<% for detail in @journal . details %>
4
<%= show_detail ( detail ) %>
4
<%= show_detail ( detail , true ) %>
5
5
<% end %>
6
6
<%= @journal . notes if @journal . notes? %>
7
7
----------------------------------------
0
redmine/app/views/mailer/issue_edit_fr.rhtml
redmine/app/views/mailer/issue_edit_fr.rhtml
+1
-1
@@
-1,7
+1,7
1
1
La demande # <%= @issue . id %> a été mise à jour.
2
2
<%= @journal . user . name %> - <%= format_date ( @journal . created_on ) %>
3
3
<% for detail in @journal . details %>
4
<%= show_detail ( detail ) %>
4
<%= show_detail ( detail , true ) %>
5
5
<% end %>
6
6
<%= journal . notes if journal . notes? %>
7
7
----------------------------------------
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
g 0-9
Goto bookmarked items from 0-9
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository access permissions settings
t s
Toggle sidebar on some pages