summaryrefslogtreecommitdiffstats
path: root/app/views/calendars
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-06-25 15:16:04 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-06-25 15:16:04 +0000
commit136dab8ad6126dd3a914a6d00ca0724d9781d937 (patch)
tree40d747d233203a2a22612808169144361e0c8131 /app/views/calendars
parent7591a6b6ed874a5ebfd2754d0558819e1ee3a31e (diff)
downloadredmine-136dab8ad6126dd3a914a6d00ca0724d9781d937.tar.gz
redmine-136dab8ad6126dd3a914a6d00ca0724d9781d937.zip
Fix source indentation and newline usage (#26125).
This unifies the source layout of the query form on the calendars/show and the gantts/show views with the queries/_query_form partial. Patch by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@16702 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/calendars')
-rw-r--r--app/views/calendars/show.html.erb32
1 files changed, 16 insertions, 16 deletions
diff --git a/app/views/calendars/show.html.erb b/app/views/calendars/show.html.erb
index 45de7a6cf..e0ea4b0a6 100644
--- a/app/views/calendars/show.html.erb
+++ b/app/views/calendars/show.html.erb
@@ -6,26 +6,26 @@
<div id="query_form_with_buttons" class="hide-when-print">
<div id="query_form_content">
-<fieldset id="filters" class="collapsible <%= @query.new_record? ? "" : "collapsed" %>">
- <legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend>
- <div style="<%= @query.new_record? ? "" : "display: none;" %>">
- <%= render :partial => 'queries/filters', :locals => {:query => @query} %>
- </div>
-</fieldset>
-
-<p style="float:right;">
- <%= link_to_previous_month(@year, @month, :accesskey => accesskey(:previous)) %> | <%= link_to_next_month(@year, @month, :accesskey => accesskey(:next)) %>
-</p>
+ <fieldset id="filters" class="collapsible <%= @query.new_record? ? "" : "collapsed" %>">
+ <legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend>
+ <div style="<%= @query.new_record? ? "" : "display: none;" %>">
+ <%= render :partial => 'queries/filters', :locals => {:query => @query} %>
+ </div>
+ </fieldset>
+
+ <p style="float:right;">
+ <%= link_to_previous_month(@year, @month, :accesskey => accesskey(:previous)) %> | <%= link_to_next_month(@year, @month, :accesskey => accesskey(:next)) %>
+ </p>
</div>
<p class="buttons">
-<%= label_tag('month', l(:label_month)) %>
-<%= select_month(@month, :prefix => "month", :discard_type => true) %>
-<%= label_tag('year', l(:label_year)) %>
-<%= select_year(@year, :prefix => "year", :discard_type => true) %>
+ <%= label_tag('month', l(:label_month)) %>
+ <%= select_month(@month, :prefix => "month", :discard_type => true) %>
+ <%= label_tag('year', l(:label_year)) %>
+ <%= select_year(@year, :prefix => "year", :discard_type => true) %>
-<%= link_to_function l(:button_apply), '$("#query_form").submit()', :class => 'icon icon-checked' %>
-<%= link_to l(:button_clear), { :project_id => @project, :set_filter => 1 }, :class => 'icon icon-reload' %>
+ <%= link_to_function l(:button_apply), '$("#query_form").submit()', :class => 'icon icon-checked' %>
+ <%= link_to l(:button_clear), { :project_id => @project, :set_filter => 1 }, :class => 'icon icon-reload' %>
</p>
</div>
<% end %>