2024-01-06 10:29:41 +00:00
|
|
|
<h2><%= t(".learning_goals") %></h2>
|
|
|
|
|
|
|
|
<%= link_to t(".new"), new_learning_goal_path if logged_in? %>
|
2024-01-07 13:50:53 +00:00
|
|
|
<%= link_to t(".new_todo"), new_todo_path if logged_in? %>
|
2024-01-06 10:29:41 +00:00
|
|
|
|
2024-01-07 14:17:47 +00:00
|
|
|
<h3><%= t(".current") %></h3>
|
|
|
|
<% if LearningGoal.current.any? %>
|
|
|
|
<%= render LearningGoal.current %>
|
2024-01-06 10:29:41 +00:00
|
|
|
<% else %>
|
2024-01-07 14:17:47 +00:00
|
|
|
<p><%= t(".no_current_goals") %></p>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<h3><%= t(".future") %></h3>
|
|
|
|
<% if LearningGoal.future.any? %>
|
|
|
|
<%= render LearningGoal.future %>
|
|
|
|
<% else %>
|
|
|
|
<p><%= t(".no_future_goals") %></p>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<h3><%= t(".past") %></h3>
|
|
|
|
<% if LearningGoal.past.any? %>
|
|
|
|
<%= render LearningGoal.past %>
|
|
|
|
<% else %>
|
|
|
|
<p><%= t(".no_past_goals") %></p>
|
2024-01-06 10:29:41 +00:00
|
|
|
<% end %>
|