remove unused 'primary' css class
This commit is contained in:
parent
847975b36d
commit
bb43370329
@ -9,7 +9,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<% @goals.each do |g| %>
|
||||
<tr id="goal-<%= g.id %>" class="primary goal">
|
||||
<tr id="goal-<%= g.id %>" class="goal">
|
||||
<td class="topleft unwrappable">
|
||||
<div style="float:left;">
|
||||
<%= checked_image g.is_binding %><%= link_to g.name, goal_targets_path(g) %>
|
||||
|
@ -17,7 +17,7 @@
|
||||
{remote: true, class: 'icon icon-arrow-right'}) %>
|
||||
</td>
|
||||
<% @quantities.each do |q| %>
|
||||
<td class="primary right unwrappable"><%= raw targets[q].to_s %></td>
|
||||
<td class="right unwrappable"><%= raw targets[q].to_s %></td>
|
||||
<% end %>
|
||||
<td class="right shrunk unwrappable"><%= action_links(date) %></td>
|
||||
</tr>
|
||||
|
@ -1,3 +1,3 @@
|
||||
<% if @targets.all?(&:destroyed?) %>
|
||||
$('tr[id=date-<%= @effective_from %>]').nextUntil('tr.primary').addBack().remove();
|
||||
$('tr[id=date-<%= @effective_from %>]').nextUntil('tr.date').addBack().remove();
|
||||
<% end %>
|
||||
|
Reference in New Issue
Block a user