Sha256: b56cfe1dbe82daa2613e5c24d508b3dc7a813e48f7d1cf22b18c20a3ed36694c

Contents?: true

Size: 515 Bytes

Versions: 32

Compression:

Stored size: 515 Bytes

Contents

<% half_size = (custom_field_values.size / 2.0).ceil %>
<% 0.upto(half_size - 1).each do |row|
  left_value = custom_field_values[row]
  right_value = custom_field_values[row + half_size] %>
  <tr>
    <th><%= left_value ? h(left_value.custom_field.translated_name) : '' %></th>
    <td><%= left_value ? show_value(left_value, true) : '' %></td>
    <th><%= right_value ? h(right_value.custom_field.translated_name) : '' %></th>
    <td><%= right_value ? show_value(right_value, true) : '' %></td>
  </tr>
<% end %>

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
redmine_extensions-1.2.0 app/views/redmine_extensions/_custom_field_rows.html.erb
redmine_extensions-1.1.2 app/views/redmine_extensions/_custom_field_rows.html.erb
redmine_extensions-1.1.1 app/views/redmine_extensions/_custom_field_rows.html.erb
redmine_extensions-1.1.0 app/views/redmine_extensions/_custom_field_rows.html.erb
redmine_extensions-1.0.0 app/views/redmine_extensions/_custom_field_rows.html.erb
redmine_extensions-0.6.3 app/views/redmine_extensions/_custom_field_rows.html.erb
redmine_extensions-0.6.2 app/views/redmine_extensions/_custom_field_rows.html.erb
redmine_extensions-0.6.1 app/views/redmine_extensions/_custom_field_rows.html.erb
redmine_extensions-0.6.0 app/views/redmine_extensions/_custom_field_rows.html.erb
redmine_extensions-0.4.5 app/views/redmine_extensions/_custom_field_rows.html.erb
redmine_extensions-0.5.1 app/views/redmine_extensions/_custom_field_rows.html.erb
redmine_extensions-0.4.4 app/views/redmine_extensions/_custom_field_rows.html.erb
redmine_extensions-0.4.3 app/views/redmine_extensions/_custom_field_rows.html.erb
redmine_extensions-0.4.1 app/views/redmine_extensions/_custom_field_rows.html.erb
redmine_extensions-0.4.0 app/views/redmine_extensions/_custom_field_rows.html.erb
redmine_extensions-0.4.0.beta app/views/redmine_extensions/_custom_field_rows.html.erb
redmine_extensions-0.3.11 app/views/redmine_extensions/_custom_field_rows.html.erb
redmine_extensions-0.3.10 app/views/redmine_extensions/_custom_field_rows.html.erb
redmine_extensions-0.3.9 app/views/redmine_extensions/_custom_field_rows.html.erb
redmine_extensions-0.3.8 app/views/redmine_extensions/_custom_field_rows.html.erb