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