List binding goal targets
This commit is contained in:
@@ -1 +1 @@
|
||||
<%= title t(:body_trackers_title), t(".heading") %>
|
||||
<%= title t(".heading") %>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<div id="new-food">
|
||||
</div>
|
||||
|
||||
<%= title t(:body_trackers_title), t(".heading") %>
|
||||
<%= title t(".heading") %>
|
||||
<div id='foods'>
|
||||
<%= render partial: 'foods/index' %>
|
||||
</div>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<div id="new-food">
|
||||
</div>
|
||||
|
||||
<%= title t(:body_trackers_title), t(".heading") %>
|
||||
<%= title t(".heading") %>
|
||||
<div id='nutrients'>
|
||||
<%= render partial: 'foods/nutrients' %>
|
||||
</div>
|
||||
|
||||
@@ -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 %>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<div id="new-meal">
|
||||
</div>
|
||||
|
||||
<%= title t(:body_trackers_title), t(".heading") %>
|
||||
<%= title t(".heading") %>
|
||||
<div id='meals'>
|
||||
<%= render partial: 'meals/index' %>
|
||||
</div>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<div id="new-measurement">
|
||||
</div>
|
||||
|
||||
<%= title t(:body_trackers_title), t(".heading") %>
|
||||
<%= title t(".heading") %>
|
||||
<div id='measurements'>
|
||||
<%= render partial: 'measurements/index' %>
|
||||
</div>
|
||||
|
||||
@@ -5,8 +5,7 @@
|
||||
<div id="new-measurement">
|
||||
</div>
|
||||
|
||||
<%= title t(:body_trackers_title),
|
||||
[t("measurements.index.heading"), project_measurements_path(@project)],
|
||||
<%= title [t("measurements.index.heading"), project_measurements_path(@project)],
|
||||
@routine.name %>
|
||||
<div id='readouts'>
|
||||
<%= render partial: 'measurements/readouts' %>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<div id="new-quantity">
|
||||
</div>
|
||||
|
||||
<%= title t(:body_trackers_title), t(".heading") %>
|
||||
<%= title t(".heading") %>
|
||||
<div id='quantities'>
|
||||
<%= render partial: 'quantities/index' %>
|
||||
</div>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
<%= title t(:body_trackers_title), t(".heading") %>
|
||||
<%= title t(".heading") %>
|
||||
<% if @sources.any? { |s| s.persisted? } %>
|
||||
<table class="list">
|
||||
<thead>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<div id="new-target">
|
||||
</div>
|
||||
|
||||
<%= title t(:body_trackers_title), t(".heading") %>
|
||||
<%= title [t("goals.index.heading"), project_goals_path(@project)], @goal.name %>
|
||||
<div id='targets'>
|
||||
<%= render partial: 'targets/index' %>
|
||||
</div>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
<%= title t(:body_trackers_title), t(".heading") %>
|
||||
<%= title t(".heading") %>
|
||||
<% if @units.any? { |u| u.persisted? } %>
|
||||
<table class="list">
|
||||
<thead>
|
||||
|
||||
Reference in New Issue
Block a user