Patch #616 » add_issue_summary_to_time_report.patch
| app/controllers/timelog_controller.rb (working copy) | ||
|---|---|---|
|
l(:field_user),
|
||
|
l(:field_activity),
|
||
|
l(:field_issue),
|
||
|
l(:field_subject),
|
||
|
l(:field_hours),
|
||
|
l(:field_comments)
|
||
|
]
|
||
| ... | ... | |
|
entry.user.name,
|
||
|
entry.activity.name,
|
||
|
(entry.issue ? entry.issue.id : nil),
|
||
|
(entry.issue ? entry.issue.subject : nil ),
|
||
|
entry.hours,
|
||
|
entry.comments
|
||
|
]
|
||
| app/views/timelog/details.rhtml (working copy) | ||
|---|---|---|
|
<%= sort_header_tag('user_id', :caption => l(:label_member)) %>
|
||
|
<%= sort_header_tag('activity_id', :caption => l(:label_activity)) %>
|
||
|
<%= sort_header_tag('issue_id', :caption => l(:label_issue)) %>
|
||
|
<th>Issue Name</th>
|
||
|
<th><%= l(:field_comments) %></th>
|
||
|
<%= sort_header_tag('hours', :caption => l(:field_hours)) %>
|
||
|
<th></th>
|
||
| ... | ... | |
|
</div>
|
||
|
<% end %>
|
||
|
</td>
|
||
|
<td><%=h truncate entry.issue.subject, 50 %></td>
|
||
|
<td><%=h entry.comments %></td>
|
||
|
<td align="center"><strong><%= entry.hours %></strong></td>
|
||
|
<td align="center"><%= link_to_if_authorized(l(:button_edit), {:controller => 'timelog', :action => 'edit', :id => entry}, :class => "icon icon-edit") if entry.user_id == @owner_id %></td>
|
||
| ... | ... | |
|
<%= l(:label_export_to) %>
|
||
|
<%= link_to 'CSV', params.update(:export => 'csv'), :class => 'icon icon-csv' %>
|
||
|
</div>
|
||
|
<% end %>
|
||
|
<% end %>
|
||
| config/environments/production.rb (working copy) | ||
|---|---|---|
|
# No email in production log
|
||
|
config.action_mailer.logger = nil
|
||
|
config.action_mailer.smtp_settings = {:address => "10.10.2.10", :domain => "resodirect.com" }
|
||
|
config.action_mailer.perform_deliveries = true
|
||
- « Previous
- 1
- 2
- Next »