1
0

Add Targets #show

Change css classes from subject-oriented to property-oriented
This commit is contained in:
cryptogopher
2021-05-05 12:42:30 +02:00
parent 8cac724694
commit e301665b6a
22 changed files with 132 additions and 130 deletions

View File

@@ -10,7 +10,7 @@
<tbody>
<% @goals.each do |g| %>
<tr id="goal-<%= g.id %>" class="primary goal">
<td class="name unwrappable">
<td class="topleft unwrappable">
<div style="float:left;">
<%= checked_image g.is_binding %><%= link_to g.name, goal_targets_path(g) %>
</div>
@@ -20,7 +20,7 @@
</div>
</td>
<td class="description ellipsible"><%= g.description %></td>
<td class="action unwrappable">
<td class="right shrunk">
<%= delete_link(g, {remote: true, data: {}}) unless g.is_binding %>
</td>
</tr>