To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / controllers / issues_controller.rb @ 912:5e80956cc792
History | View | Annotate | Download (13.6 KB)
| 1 | 0:513646585e45 | Chris | # Redmine - project management software
|
|---|---|---|---|
| 2 | 441:cbce1fd3b1b7 | Chris | # Copyright (C) 2006-2011 Jean-Philippe Lang
|
| 3 | 0:513646585e45 | Chris | #
|
| 4 | # This program is free software; you can redistribute it and/or
|
||
| 5 | # modify it under the terms of the GNU General Public License
|
||
| 6 | # as published by the Free Software Foundation; either version 2
|
||
| 7 | # of the License, or (at your option) any later version.
|
||
| 8 | 441:cbce1fd3b1b7 | Chris | #
|
| 9 | 0:513646585e45 | Chris | # This program is distributed in the hope that it will be useful,
|
| 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
| 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
| 12 | # GNU General Public License for more details.
|
||
| 13 | 441:cbce1fd3b1b7 | Chris | #
|
| 14 | 0:513646585e45 | Chris | # You should have received a copy of the GNU General Public License
|
| 15 | # along with this program; if not, write to the Free Software
|
||
| 16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||
| 17 | |||
| 18 | class IssuesController < ApplicationController |
||
| 19 | menu_item :new_issue, :only => [:new, :create] |
||
| 20 | default_search_scope :issues
|
||
| 21 | 441:cbce1fd3b1b7 | Chris | |
| 22 | 14:1d32c0a0efbf | Chris | before_filter :find_issue, :only => [:show, :edit, :update] |
| 23 | before_filter :find_issues, :only => [:bulk_edit, :bulk_update, :move, :perform_move, :destroy] |
||
| 24 | 37:94944d00e43c | chris | before_filter :check_project_uniqueness, :only => [:move, :perform_move] |
| 25 | 14:1d32c0a0efbf | Chris | before_filter :find_project, :only => [:new, :create] |
| 26 | before_filter :authorize, :except => [:index] |
||
| 27 | before_filter :find_optional_project, :only => [:index] |
||
| 28 | 0:513646585e45 | Chris | before_filter :check_for_default_issue_status, :only => [:new, :create] |
| 29 | before_filter :build_new_issue_from_params, :only => [:new, :create] |
||
| 30 | 507:0c939c159af4 | Chris | accept_rss_auth :index, :show |
| 31 | accept_api_auth :index, :show, :create, :update, :destroy |
||
| 32 | 0:513646585e45 | Chris | |
| 33 | rescue_from Query::StatementInvalid, :with => :query_statement_invalid |
||
| 34 | 441:cbce1fd3b1b7 | Chris | |
| 35 | 0:513646585e45 | Chris | helper :journals
|
| 36 | helper :projects
|
||
| 37 | 441:cbce1fd3b1b7 | Chris | include ProjectsHelper
|
| 38 | 0:513646585e45 | Chris | helper :custom_fields
|
| 39 | include CustomFieldsHelper
|
||
| 40 | helper :issue_relations
|
||
| 41 | include IssueRelationsHelper
|
||
| 42 | helper :watchers
|
||
| 43 | include WatchersHelper
|
||
| 44 | helper :attachments
|
||
| 45 | include AttachmentsHelper
|
||
| 46 | helper :queries
|
||
| 47 | include QueriesHelper
|
||
| 48 | 117:af80e5618e9b | Chris | helper :repositories
|
| 49 | include RepositoriesHelper
|
||
| 50 | 0:513646585e45 | Chris | helper :sort
|
| 51 | include SortHelper
|
||
| 52 | include IssuesHelper
|
||
| 53 | helper :timelog
|
||
| 54 | 22:40f7cfd4df19 | chris | helper :gantt
|
| 55 | 0:513646585e45 | Chris | include Redmine::Export::PDF |
| 56 | |||
| 57 | verify :method => [:post, :delete], |
||
| 58 | :only => :destroy, |
||
| 59 | :render => { :nothing => true, :status => :method_not_allowed } |
||
| 60 | |||
| 61 | verify :method => :post, :only => :create, :render => {:nothing => true, :status => :method_not_allowed } |
||
| 62 | 14:1d32c0a0efbf | Chris | verify :method => :post, :only => :bulk_update, :render => {:nothing => true, :status => :method_not_allowed } |
| 63 | 0:513646585e45 | Chris | verify :method => :put, :only => :update, :render => {:nothing => true, :status => :method_not_allowed } |
| 64 | 441:cbce1fd3b1b7 | Chris | |
| 65 | 0:513646585e45 | Chris | def index |
| 66 | retrieve_query |
||
| 67 | sort_init(@query.sort_criteria.empty? ? [['id', 'desc']] : @query.sort_criteria) |
||
| 68 | sort_update(@query.sortable_columns)
|
||
| 69 | 441:cbce1fd3b1b7 | Chris | |
| 70 | 0:513646585e45 | Chris | if @query.valid? |
| 71 | 117:af80e5618e9b | Chris | case params[:format] |
| 72 | 0:513646585e45 | Chris | when 'csv', 'pdf' |
| 73 | 117:af80e5618e9b | Chris | @limit = Setting.issues_export_limit.to_i |
| 74 | 0:513646585e45 | Chris | when 'atom' |
| 75 | 117:af80e5618e9b | Chris | @limit = Setting.feeds_limit.to_i |
| 76 | when 'xml', 'json' |
||
| 77 | @offset, @limit = api_offset_and_limit |
||
| 78 | 0:513646585e45 | Chris | else
|
| 79 | 117:af80e5618e9b | Chris | @limit = per_page_option
|
| 80 | 0:513646585e45 | Chris | end
|
| 81 | 441:cbce1fd3b1b7 | Chris | |
| 82 | 0:513646585e45 | Chris | @issue_count = @query.issue_count |
| 83 | 117:af80e5618e9b | Chris | @issue_pages = Paginator.new self, @issue_count, @limit, params['page'] |
| 84 | @offset ||= @issue_pages.current.offset |
||
| 85 | 0:513646585e45 | Chris | @issues = @query.issues(:include => [:assigned_to, :tracker, :priority, :category, :fixed_version], |
| 86 | 441:cbce1fd3b1b7 | Chris | :order => sort_clause,
|
| 87 | :offset => @offset, |
||
| 88 | 117:af80e5618e9b | Chris | :limit => @limit) |
| 89 | 0:513646585e45 | Chris | @issue_count_by_group = @query.issue_count_by_group |
| 90 | 441:cbce1fd3b1b7 | Chris | |
| 91 | 0:513646585e45 | Chris | respond_to do |format|
|
| 92 | 909:cbb26bc654de | Chris | format.html { render :template => 'issues/index', :layout => !request.xhr? }
|
| 93 | format.api {
|
||
| 94 | Issue.load_relations(@issues) if include_in_api_response?('relations') |
||
| 95 | } |
||
| 96 | 0:513646585e45 | Chris | format.atom { render_feed(@issues, :title => "#{@project || Setting.app_title}: #{l(:label_issue_plural)}") }
|
| 97 | 909:cbb26bc654de | Chris | format.csv { send_data(issues_to_csv(@issues, @project, @query, params), :type => 'text/csv; header=present', :filename => 'export.csv') }
|
| 98 | 0:513646585e45 | Chris | format.pdf { send_data(issues_to_pdf(@issues, @project, @query), :type => 'application/pdf', :filename => 'export.pdf') }
|
| 99 | end
|
||
| 100 | else
|
||
| 101 | 909:cbb26bc654de | Chris | respond_to do |format|
|
| 102 | format.html { render(:template => 'issues/index', :layout => !request.xhr?) }
|
||
| 103 | format.any(:atom, :csv, :pdf) { render(:nothing => true) } |
||
| 104 | format.api { render_validation_errors(@query) }
|
||
| 105 | end
|
||
| 106 | 0:513646585e45 | Chris | end
|
| 107 | rescue ActiveRecord::RecordNotFound |
||
| 108 | render_404 |
||
| 109 | end
|
||
| 110 | 441:cbce1fd3b1b7 | Chris | |
| 111 | 0:513646585e45 | Chris | def show |
| 112 | @journals = @issue.journals.find(:all, :include => [:user, :details], :order => "#{Journal.table_name}.created_on ASC") |
||
| 113 | @journals.each_with_index {|j,i| j.indice = i+1} |
||
| 114 | @journals.reverse! if User.current.wants_comments_in_reverse_order? |
||
| 115 | 441:cbce1fd3b1b7 | Chris | |
| 116 | if User.current.allowed_to?(:view_changesets, @project) |
||
| 117 | @changesets = @issue.changesets.visible.all |
||
| 118 | @changesets.reverse! if User.current.wants_comments_in_reverse_order? |
||
| 119 | end
|
||
| 120 | |||
| 121 | 210:0579821a129a | Chris | @relations = @issue.relations.select {|r| r.other_issue(@issue) && r.other_issue(@issue).visible? } |
| 122 | 0:513646585e45 | Chris | @allowed_statuses = @issue.new_statuses_allowed_to(User.current) |
| 123 | @edit_allowed = User.current.allowed_to?(:edit_issues, @project) |
||
| 124 | 909:cbb26bc654de | Chris | @priorities = IssuePriority.active |
| 125 | 441:cbce1fd3b1b7 | Chris | @time_entry = TimeEntry.new(:issue => @issue, :project => @issue.project) |
| 126 | 0:513646585e45 | Chris | respond_to do |format|
|
| 127 | 909:cbb26bc654de | Chris | format.html { render :template => 'issues/show' }
|
| 128 | 117:af80e5618e9b | Chris | format.api |
| 129 | 14:1d32c0a0efbf | Chris | format.atom { render :template => 'journals/index', :layout => false, :content_type => 'application/atom+xml' }
|
| 130 | 0:513646585e45 | Chris | format.pdf { send_data(issue_to_pdf(@issue), :type => 'application/pdf', :filename => "#{@project.identifier}-#{@issue.id}.pdf") }
|
| 131 | end
|
||
| 132 | end
|
||
| 133 | |||
| 134 | # Add a new issue
|
||
| 135 | # The new issue will be created from an existing one if copy_from parameter is given
|
||
| 136 | def new |
||
| 137 | 14:1d32c0a0efbf | Chris | respond_to do |format|
|
| 138 | format.html { render :action => 'new', :layout => !request.xhr? }
|
||
| 139 | format.js { render :partial => 'attributes' }
|
||
| 140 | end
|
||
| 141 | 0:513646585e45 | Chris | end
|
| 142 | |||
| 143 | def create |
||
| 144 | call_hook(:controller_issues_new_before_save, { :params => params, :issue => @issue }) |
||
| 145 | if @issue.save |
||
| 146 | attachments = Attachment.attach_files(@issue, params[:attachments]) |
||
| 147 | 70:35c1d1c098e6 | luisf | |
| 148 | 0:513646585e45 | Chris | call_hook(:controller_issues_new_after_save, { :params => params, :issue => @issue}) |
| 149 | 70:35c1d1c098e6 | luisf | |
| 150 | 71:7c828d63cb06 | luisf | # Also adds the assignee to the watcher's list
|
| 151 | 141:ab75f33dcc6f | luisf | if params[:issue][:assigned_to_id] && !params[:issue][:assigned_to_id].empty?: |
| 152 | unless @issue.watcher_ids.include?(params[:issue][:assigned_to_id]): |
||
| 153 | @issue.add_watcher(User.find(params[:issue][:assigned_to_id])) |
||
| 154 | end
|
||
| 155 | end
|
||
| 156 | 71:7c828d63cb06 | luisf | |
| 157 | 0:513646585e45 | Chris | respond_to do |format|
|
| 158 | format.html {
|
||
| 159 | 909:cbb26bc654de | Chris | render_attachment_warning_if_needed(@issue)
|
| 160 | flash[:notice] = l(:notice_issue_successful_create, :id => "<a href='#{issue_path(@issue)}'>##{@issue.id}</a>") |
||
| 161 | 22:40f7cfd4df19 | chris | redirect_to(params[:continue] ? { :action => 'new', :project_id => @project, :issue => {:tracker_id => @issue.tracker, :parent_issue_id => @issue.parent_issue_id}.reject {|k,v| v.nil?} } : |
| 162 | 0:513646585e45 | Chris | { :action => 'show', :id => @issue })
|
| 163 | } |
||
| 164 | 117:af80e5618e9b | Chris | format.api { render :action => 'show', :status => :created, :location => issue_url(@issue) }
|
| 165 | 0:513646585e45 | Chris | end
|
| 166 | return
|
||
| 167 | else
|
||
| 168 | respond_to do |format|
|
||
| 169 | format.html { render :action => 'new' }
|
||
| 170 | 117:af80e5618e9b | Chris | format.api { render_validation_errors(@issue) }
|
| 171 | 0:513646585e45 | Chris | end
|
| 172 | end
|
||
| 173 | end
|
||
| 174 | 441:cbce1fd3b1b7 | Chris | |
| 175 | 0:513646585e45 | Chris | def edit |
| 176 | update_issue_from_params |
||
| 177 | |||
| 178 | @journal = @issue.current_journal |
||
| 179 | |||
| 180 | respond_to do |format|
|
||
| 181 | format.html { }
|
||
| 182 | format.xml { }
|
||
| 183 | end
|
||
| 184 | end
|
||
| 185 | |||
| 186 | def update |
||
| 187 | update_issue_from_params |
||
| 188 | |||
| 189 | if @issue.save_issue_with_child_records(params, @time_entry) |
||
| 190 | render_attachment_warning_if_needed(@issue)
|
||
| 191 | flash[:notice] = l(:notice_successful_update) unless @issue.current_journal.new_record? |
||
| 192 | |||
| 193 | respond_to do |format|
|
||
| 194 | format.html { redirect_back_or_default({:action => 'show', :id => @issue}) }
|
||
| 195 | 117:af80e5618e9b | Chris | format.api { head :ok }
|
| 196 | 0:513646585e45 | Chris | end
|
| 197 | else
|
||
| 198 | render_attachment_warning_if_needed(@issue)
|
||
| 199 | flash[:notice] = l(:notice_successful_update) unless @issue.current_journal.new_record? |
||
| 200 | @journal = @issue.current_journal |
||
| 201 | |||
| 202 | respond_to do |format|
|
||
| 203 | format.html { render :action => 'edit' }
|
||
| 204 | 117:af80e5618e9b | Chris | format.api { render_validation_errors(@issue) }
|
| 205 | 0:513646585e45 | Chris | end
|
| 206 | end
|
||
| 207 | end
|
||
| 208 | |||
| 209 | # Bulk edit a set of issues
|
||
| 210 | def bulk_edit |
||
| 211 | @issues.sort!
|
||
| 212 | 37:94944d00e43c | chris | @available_statuses = @projects.map{|p|Workflow.available_statuses(p)}.inject{|memo,w|memo & w} |
| 213 | @custom_fields = @projects.map{|p|p.all_issue_custom_fields}.inject{|memo,c|memo & c} |
||
| 214 | @assignables = @projects.map(&:assignable_users).inject{|memo,a| memo & a} |
||
| 215 | @trackers = @projects.map(&:trackers).inject{|memo,t| memo & t} |
||
| 216 | 0:513646585e45 | Chris | end
|
| 217 | |||
| 218 | 14:1d32c0a0efbf | Chris | def bulk_update |
| 219 | 0:513646585e45 | Chris | @issues.sort!
|
| 220 | 14:1d32c0a0efbf | Chris | attributes = parse_params_for_bulk_issue_attributes(params) |
| 221 | |||
| 222 | unsaved_issue_ids = [] |
||
| 223 | @issues.each do |issue| |
||
| 224 | issue.reload |
||
| 225 | journal = issue.init_journal(User.current, params[:notes]) |
||
| 226 | issue.safe_attributes = attributes |
||
| 227 | call_hook(:controller_issues_bulk_edit_before_save, { :params => params, :issue => issue }) |
||
| 228 | unless issue.save
|
||
| 229 | # Keep unsaved issue ids to display them in flash error
|
||
| 230 | unsaved_issue_ids << issue.id |
||
| 231 | 0:513646585e45 | Chris | end
|
| 232 | end
|
||
| 233 | 14:1d32c0a0efbf | Chris | set_flash_from_bulk_issue_save(@issues, unsaved_issue_ids)
|
| 234 | redirect_back_or_default({:controller => 'issues', :action => 'index', :project_id => @project})
|
||
| 235 | 0:513646585e45 | Chris | end
|
| 236 | 441:cbce1fd3b1b7 | Chris | |
| 237 | 0:513646585e45 | Chris | def destroy |
| 238 | @hours = TimeEntry.sum(:hours, :conditions => ['issue_id IN (?)', @issues]).to_f |
||
| 239 | if @hours > 0 |
||
| 240 | case params[:todo] |
||
| 241 | when 'destroy' |
||
| 242 | # nothing to do
|
||
| 243 | when 'nullify' |
||
| 244 | TimeEntry.update_all('issue_id = NULL', ['issue_id IN (?)', @issues]) |
||
| 245 | when 'reassign' |
||
| 246 | reassign_to = @project.issues.find_by_id(params[:reassign_to_id]) |
||
| 247 | if reassign_to.nil?
|
||
| 248 | flash.now[:error] = l(:error_issue_not_found_in_project) |
||
| 249 | return
|
||
| 250 | else
|
||
| 251 | TimeEntry.update_all("issue_id = #{reassign_to.id}", ['issue_id IN (?)', @issues]) |
||
| 252 | end
|
||
| 253 | else
|
||
| 254 | 117:af80e5618e9b | Chris | # display the destroy form if it's a user request
|
| 255 | return unless api_request? |
||
| 256 | 0:513646585e45 | Chris | end
|
| 257 | end
|
||
| 258 | 441:cbce1fd3b1b7 | Chris | @issues.each do |issue| |
| 259 | begin
|
||
| 260 | issue.reload.destroy |
||
| 261 | rescue ::ActiveRecord::RecordNotFound # raised by #reload if issue no longer exists |
||
| 262 | # nothing to do, issue was already deleted (eg. by a parent)
|
||
| 263 | end
|
||
| 264 | end
|
||
| 265 | 0:513646585e45 | Chris | respond_to do |format|
|
| 266 | 37:94944d00e43c | chris | format.html { redirect_back_or_default(:action => 'index', :project_id => @project) }
|
| 267 | 117:af80e5618e9b | Chris | format.api { head :ok }
|
| 268 | 0:513646585e45 | Chris | end
|
| 269 | end
|
||
| 270 | |||
| 271 | private |
||
| 272 | def find_issue |
||
| 273 | 441:cbce1fd3b1b7 | Chris | # Issue.visible.find(...) can not be used to redirect user to the login form
|
| 274 | # if the issue actually exists but requires authentication
|
||
| 275 | 0:513646585e45 | Chris | @issue = Issue.find(params[:id], :include => [:project, :tracker, :status, :author, :priority, :category]) |
| 276 | 441:cbce1fd3b1b7 | Chris | unless @issue.visible? |
| 277 | deny_access |
||
| 278 | return
|
||
| 279 | end
|
||
| 280 | 0:513646585e45 | Chris | @project = @issue.project |
| 281 | rescue ActiveRecord::RecordNotFound |
||
| 282 | render_404 |
||
| 283 | end
|
||
| 284 | 441:cbce1fd3b1b7 | Chris | |
| 285 | 0:513646585e45 | Chris | def find_project |
| 286 | project_id = (params[:issue] && params[:issue][:project_id]) || params[:project_id] |
||
| 287 | @project = Project.find(project_id) |
||
| 288 | rescue ActiveRecord::RecordNotFound |
||
| 289 | render_404 |
||
| 290 | end
|
||
| 291 | 441:cbce1fd3b1b7 | Chris | |
| 292 | 0:513646585e45 | Chris | # Used by #edit and #update to set some common instance variables
|
| 293 | # from the params
|
||
| 294 | # TODO: Refactor, not everything in here is needed by #edit
|
||
| 295 | def update_issue_from_params |
||
| 296 | @allowed_statuses = @issue.new_statuses_allowed_to(User.current) |
||
| 297 | 909:cbb26bc654de | Chris | @priorities = IssuePriority.active |
| 298 | 0:513646585e45 | Chris | @edit_allowed = User.current.allowed_to?(:edit_issues, @project) |
| 299 | 441:cbce1fd3b1b7 | Chris | @time_entry = TimeEntry.new(:issue => @issue, :project => @issue.project) |
| 300 | 37:94944d00e43c | chris | @time_entry.attributes = params[:time_entry] |
| 301 | 441:cbce1fd3b1b7 | Chris | |
| 302 | 22:40f7cfd4df19 | chris | @notes = params[:notes] || (params[:issue].present? ? params[:issue][:notes] : nil) |
| 303 | 0:513646585e45 | Chris | @issue.init_journal(User.current, @notes) |
| 304 | 37:94944d00e43c | chris | @issue.safe_attributes = params[:issue] |
| 305 | 71:7c828d63cb06 | luisf | |
| 306 | # tests if the the user assigned_to_id
|
||
| 307 | # is in this issues watcher's list
|
||
| 308 | # if not, adds it.
|
||
| 309 | |||
| 310 | 496:eef2e2ed53c9 | chris | if params[:issue] && params[:issue][:assigned_to_id] && !params[:issue][:assigned_to_id].empty?: |
| 311 | 141:ab75f33dcc6f | luisf | unless @issue.watched_by?(User.find(params[:issue][:assigned_to_id])): |
| 312 | @issue.add_watcher(User.find(params[:issue][:assigned_to_id])) |
||
| 313 | end
|
||
| 314 | end
|
||
| 315 | 71:7c828d63cb06 | luisf | |
| 316 | |||
| 317 | 0:513646585e45 | Chris | end
|
| 318 | |||
| 319 | # TODO: Refactor, lots of extra code in here
|
||
| 320 | 37:94944d00e43c | chris | # TODO: Changing tracker on an existing issue should not trigger this
|
| 321 | 0:513646585e45 | Chris | def build_new_issue_from_params |
| 322 | 14:1d32c0a0efbf | Chris | if params[:id].blank? |
| 323 | @issue = Issue.new |
||
| 324 | @issue.copy_from(params[:copy_from]) if params[:copy_from] |
||
| 325 | @issue.project = @project |
||
| 326 | else
|
||
| 327 | @issue = @project.issues.visible.find(params[:id]) |
||
| 328 | end
|
||
| 329 | 441:cbce1fd3b1b7 | Chris | |
| 330 | 0:513646585e45 | Chris | @issue.project = @project |
| 331 | 507:0c939c159af4 | Chris | @issue.author = User.current |
| 332 | 0:513646585e45 | Chris | # Tracker must be set before custom field values
|
| 333 | @issue.tracker ||= @project.trackers.find((params[:issue] && params[:issue][:tracker_id]) || params[:tracker_id] || :first) |
||
| 334 | if @issue.tracker.nil? |
||
| 335 | render_error l(:error_no_tracker_in_project)
|
||
| 336 | return false |
||
| 337 | end
|
||
| 338 | 909:cbb26bc654de | Chris | @issue.start_date ||= Date.today if Setting.default_issue_start_date_to_creation_date? |
| 339 | 0:513646585e45 | Chris | if params[:issue].is_a?(Hash) |
| 340 | @issue.safe_attributes = params[:issue] |
||
| 341 | 37:94944d00e43c | chris | if User.current.allowed_to?(:add_issue_watchers, @project) && @issue.new_record? |
| 342 | @issue.watcher_user_ids = params[:issue]['watcher_user_ids'] |
||
| 343 | end
|
||
| 344 | 0:513646585e45 | Chris | end
|
| 345 | 909:cbb26bc654de | Chris | @priorities = IssuePriority.active |
| 346 | 0:513646585e45 | Chris | @allowed_statuses = @issue.new_statuses_allowed_to(User.current, true) |
| 347 | end
|
||
| 348 | |||
| 349 | def check_for_default_issue_status |
||
| 350 | if IssueStatus.default.nil? |
||
| 351 | render_error l(:error_no_default_issue_status)
|
||
| 352 | return false |
||
| 353 | end
|
||
| 354 | end
|
||
| 355 | 14:1d32c0a0efbf | Chris | |
| 356 | def parse_params_for_bulk_issue_attributes(params) |
||
| 357 | attributes = (params[:issue] || {}).reject {|k,v| v.blank?}
|
||
| 358 | attributes.keys.each {|k| attributes[k] = '' if attributes[k] == 'none'}
|
||
| 359 | attributes[:custom_field_values].reject! {|k,v| v.blank?} if attributes[:custom_field_values] |
||
| 360 | attributes |
||
| 361 | end
|
||
| 362 | 0:513646585e45 | Chris | end |