1
0

Improved measurements listing

This commit is contained in:
cryptogopher 2019-12-27 01:46:09 +01:00
parent 2171c69822
commit 2dcc750355

View File

@ -13,7 +13,7 @@
<% next if m.new_record? %> <% next if m.new_record? %>
<tr id="measurement-<%= m.id %>" <tr id="measurement-<%= m.id %>"
class="primary measurement <%= 'hidden' if m.hidden %>"> class="primary measurement <%= 'hidden' if m.hidden %>">
<td class="date"><%= format_datetime(m) %></td> <td class="date unwrappable"><%= format_datetime(m) %></td>
<td class="name"> <td class="name">
<div style="float:left;"> <div style="float:left;">
<%= link_to m.name, readouts_measurement_path(m) %> <%= link_to m.name, readouts_measurement_path(m) %>
@ -23,9 +23,7 @@
</div> </div>
</td> </td>
<td class="source"><%= m.source.name if m.source.present? %></td> <td class="source"><%= m.source.name if m.source.present? %></td>
<td class="action"> <td class="action unwrappable"><%= action_links(m) %></td>
<%= action_links(m) %>
</td>
</tr> </tr>
<% end %> <% end %>
</tbody> </tbody>