ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

utf8-unstable-2.diff

Alf Gaida, 2011-05-29 01:37 pm

Download (1 kB)

 
b/app/views/common/_diff.rhtml
5 5
<% if diff.diff_type == 'sbs' -%>
6 6
<table class="filecontent">
7 7
<thead>
8
<tr><th colspan="4" class="filename"><%=to_utf8 table_file.file_name %></th></tr>
8
<tr><th colspan="4" class="filename"><%=to_utf8_for_attachments table_file.file_name %></th></tr>
9 9
</thead>
10 10
<tbody>
11 11
<% table_file.each_line do |spacing, line| -%>
......
17 17
<tr>
18 18
  <th class="line-num"><%= line.nb_line_left %></th>
19 19
  <td class="line-code <%= line.type_diff_left %>">
20
    <pre><%=to_utf8 line.html_line_left %></pre>
20
    <pre><%=to_utf8_for_attachments line.html_line_left %></pre>
21 21
  </td>
22 22
  <th class="line-num"><%= line.nb_line_right %></th>
23 23
  <td class="line-code <%= line.type_diff_right %>">
24
    <pre><%=to_utf8 line.html_line_right %></pre>
24
    <pre><%=to_utf8_for_attachments line.html_line_right %></pre>
25 25
  </td>
26 26
</tr>
27 27
<% end -%>