1
0

List binding goal targets

This commit is contained in:
cryptogopher
2021-02-21 19:41:24 +01:00
parent 7f87b3bc84
commit 09e27eb754
18 changed files with 26 additions and 20 deletions

View File

@@ -12,7 +12,7 @@
<tr id="goal-<%= g.id %>" class="primary goal">
<td class="name unwrappable">
<div style="float:left;">
<%= checked_image g.is_binding %><%= link_to g.name, g %>
<%= checked_image g.is_binding %><%= link_to g.name, targets_goal_path(g) %>
</div>
<div style="float:right;">
<%# TODO: display # of active targets/targeted quantities %>

View File

@@ -7,7 +7,7 @@
<div id="new-goal">
</div>
<%= title t(:body_trackers_title), t(".heading") %>
<%= title t(".heading") %>
<div id='goals'>
<%= render partial: 'goals/index' %>
</div>