mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-03 06:21:49 +01:00
I also ran rcov on unit tests and added tests to improve test coverage, uncovering a couple of bugs along the way. git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@476 a4c988fc-2ded-0310-b66e-134b36920a42
8 lines
No EOL
252 B
Text
8 lines
No EOL
252 B
Text
<%
|
|
context = text_context
|
|
todos_in_context = todos.select { |t| t.context_id == context.id }
|
|
if todos_in_context.length > 0
|
|
%>
|
|
<%= context.name.upcase %>:
|
|
<% end -%>
|
|
<%= render :partial => "todos/text_todo", :collection => todos_in_context -%> |