mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-13 16:06:16 +01:00
Remove trailing whitespace and tabs
This commit is contained in:
parent
863d780ad0
commit
aa41e20e46
84 changed files with 407 additions and 407 deletions
|
|
@ -4,16 +4,16 @@
|
|||
# rendering of "due in x days" that change without touching updated at of the todo
|
||||
cache [context, source_view_key, current_user.date.strftime("%Y%m%d"), @tag_name] do
|
||||
-%>
|
||||
<%=
|
||||
render :partial => 'todos/collection',
|
||||
:object => @not_done,
|
||||
<%=
|
||||
render :partial => 'todos/collection',
|
||||
:object => @not_done,
|
||||
:locals => { :settings => {
|
||||
:id => "c#{context.id}",
|
||||
:collapsible => settings[:collapsible],
|
||||
:container_name => 'context',
|
||||
:id => "c#{context.id}",
|
||||
:collapsible => settings[:collapsible],
|
||||
:container_name => 'context',
|
||||
:title => show_context_name(context),
|
||||
:show_empty_containers => settings[:show_empty_containers],
|
||||
:parent_container_type => settings[:parent_container_type]
|
||||
}}
|
||||
}}
|
||||
%>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
|
|
|||
|
|
@ -3,11 +3,11 @@
|
|||
<span id="<%= state %>-contexts-count" class="badge"><%= context_state_group.length %></span>
|
||||
<%= t("states.contexts."+ state) %>
|
||||
</h2>
|
||||
|
||||
|
||||
<div id="<%= state%>-contexts-empty-nd" style="<%= no_contexts ? 'display:block' : 'display:none'%>">
|
||||
<div class="message"><p><%= t('contexts.no_contexts_' + state) %></p></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="list-contexts-<%= state %>">
|
||||
<%= render :partial => 'context_listing', :collection => context_state_group %>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<%
|
||||
<%
|
||||
suffix_completed = t('contexts.last_completed_in_context', :number=>prefs.show_number_completed)
|
||||
deferred_pending_options = {:append_descriptor => nil, :parent_container_type => 'context'}
|
||||
done_todo_options = {:append_descriptor => suffix_completed, :suppress_context => true, :parent_container_type => 'context'}
|
||||
|
|
@ -7,16 +7,16 @@
|
|||
<div id="display_box">
|
||||
|
||||
<%= empty_message_holder("not_done_context", @not_done_todos.empty?) %>
|
||||
|
||||
<%= show_grouped_todos({:collapsible => false, :show_empty_containers => false, :parent_container_type => 'context'}) %>
|
||||
|
||||
<%= show_grouped_todos({:collapsible => false, :show_empty_containers => false, :parent_container_type => 'context'}) %>
|
||||
|
||||
<% if @group_view_by == 'project' -%>
|
||||
<%= show_todos_without_project(@todos_without_project, {:collapsible => false, :parent_container_type => 'context', :title_param => @context.name}) -%>
|
||||
<% end -%>
|
||||
|
||||
<%= show_deferred_pending_todos(@deferred_todos, @pending_todos, deferred_pending_options) %>
|
||||
<%= show_deferred_pending_todos(@deferred_todos, @pending_todos, deferred_pending_options) %>
|
||||
|
||||
<%= show_done_todos(@done, done_todo_options) unless @done.nil? %>
|
||||
<%= show_done_todos(@done, done_todo_options) unless @done.nil? %>
|
||||
</div>
|
||||
|
||||
<div id="input_box">
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<%-
|
||||
<%-
|
||||
object_name = unique_object_name_for("update_context_#{@context.id}")
|
||||
-%>
|
||||
var <%=object_name%> = {
|
||||
|
|
@ -47,4 +47,4 @@ var <%=object_name%> = {
|
|||
<% end -%>
|
||||
}
|
||||
|
||||
<%=object_name%>.animate();
|
||||
<%=object_name%>.animate();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue