diff --git a/app/views/body_trackers/_quantity_table_header.html.erb b/app/views/body_trackers/_quantity_table_header.html.erb deleted file mode 100644 index 7d867f0..0000000 --- a/app/views/body_trackers/_quantity_table_header.html.erb +++ /dev/null @@ -1,27 +0,0 @@ -<% total_width = 4 + @quantities.length %> -<% header = quantities_table_header(@quantities) %> -<% header.each_with_index do |row, i| %> - - <% if i == 0 %> - - <%= l(:field_amount) %> - <% end %> - - <% row.each do |q, span| %> - 0 %> - <%= "rowspan=#{-span}" if span && span < 0 %> - style="width: <%= (span && span > 0 ? span : 1) * 100/total_width %>%;" - title="<%= q.description %>"> - <%= q.name if span %> - - <% end %> - - <% if i == 0 %> - - <% end %> - -<% end %> diff --git a/app/views/targets/_oldindex.html.erb b/app/views/targets/_oldindex.html.erb deleted file mode 100644 index 4b60569..0000000 --- a/app/views/targets/_oldindex.html.erb +++ /dev/null @@ -1,33 +0,0 @@ -<% if @targets.any? %> - - - - - - - - - - - - <% @targets.select(&:persisted?).each do |t| %> - - - - - - - - <% end %> - -
<%= l(:field_effective_from) %><%= l(:field_name) %><%= l(:field_notes) %><%= l(:field_source) %><%= l(:field_action) %>
<%= format_date(t.effective_from) %> -
- <%= link_to m.routine.name, readouts_measurement_routine_path(m.routine) %> -
-
- <%= " (#{pluralize(m.readouts.size, 'readout')})" %> -
-
<%= m.notes %><%= m.source.name if m.source.present? %><%= action_links(m) %>
-<% else %> -

<%= l(:label_no_data) %>

-<% end %>