1
0

Fixed creating/updating with MeasurementRoutine

Updated Measurement links with :view
This commit is contained in:
cryptogopher
2020-04-03 18:34:39 +02:00
parent 9f63c14f8a
commit 14f4c063de
7 changed files with 24 additions and 20 deletions

View File

@@ -27,7 +27,7 @@
</div>
</td>
<td class="source"><%= m.source.name if m.source.present? %></td>
<td class="action unwrappable"><%= action_links(m) %></td>
<td class="action unwrappable"><%= action_links(m, :index) %></td>
</tr>
<% end %>
</tbody>

View File

@@ -38,7 +38,7 @@
<% @requested_r[index].each do |*, value| %>
<td class="primary value ellipsible"><%= format_value(value) %></td>
<% end %>
<td class="action unwrappable"><%= action_links(m) %></td>
<td class="action unwrappable"><%= action_links(m, :readouts) %></td>
</tr>
<tr class="<%= row_class %>" style="display:none">
@@ -57,7 +57,9 @@
<p class="value"><%= format_value(value) %></p>
</td>
<% end %>
<td rowspan="<%= rows %>" class="action unwrappable"><%= action_links(m) %></td>
<td rowspan="<%= rows %>" class="action unwrappable">
<%= action_links(m, :readouts) %>
</td>
</tr>
<% next unless @quantities.length > 0 %>