Revision 1297:0a574315af3e .svn/pristine/84

View differences:

.svn/pristine/84/8408fbacd642fbee1a9ec78d0328441ab7d89dd3.svn-base
1
<h2><%= @query.new_record? ? l(:label_calendar) : h(@query.name) %></h2>
2

  
3
<%= form_tag({:controller => 'calendars', :action => 'show', :project_id => @project},
4
             :method => :get, :id => 'query_form') do %>
5
<%= hidden_field_tag 'set_filter', '1' %>
6
<fieldset id="filters" class="collapsible <%= @query.new_record? ? "" : "collapsed" %>">
7
  <legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend>
8
  <div style="<%= @query.new_record? ? "" : "display: none;" %>">
9
    <%= render :partial => 'queries/filters', :locals => {:query => @query} %>
10
  </div>
11
</fieldset>
12

  
13
<p style="float:right;">
14
  <%= link_to_previous_month(@year, @month) %> | <%= link_to_next_month(@year, @month) %>
15
</p>
16

  
17
<p class="buttons">
18
<%= label_tag('month', l(:label_month)) %>
19
<%= select_month(@month, :prefix => "month", :discard_type => true) %>
20
<%= label_tag('year', l(:label_year)) %>
21
<%= select_year(@year, :prefix => "year", :discard_type => true) %>
22

  
23
<%= link_to_function l(:button_apply), '$("#query_form").submit()', :class => 'icon icon-checked' %>
24
<%= link_to l(:button_clear), { :project_id => @project, :set_filter => 1 }, :class => 'icon icon-reload' %>
25
</p>
26
<% end %>
27

  
28
<%= error_messages_for 'query' %>
29
<% if @query.valid? %>
30
<%= render :partial => 'common/calendar', :locals => {:calendar => @calendar} %>
31

  
32
<p class="legend cal">
33
  <span class="starting"><%= l(:text_tip_issue_begin_day) %></span>
34
  <span class="ending"><%= l(:text_tip_issue_end_day) %></span>
35
  <span class="starting ending"><%= l(:text_tip_issue_begin_end_day) %></span>
36
</p>
37
<% end %>
38

  
39
<% content_for :sidebar do %>
40
    <%= render :partial => 'issues/sidebar' %>
41
<% end %>
42

  
43
<% html_title(l(:label_calendar)) -%>
.svn/pristine/84/847af10b7b0ab4af0756ace71a2c82fde9e4b7c5.svn-base
1
# Redmine - project management software
2
# Copyright (C) 2006-2012  Jean-Philippe Lang
3
#
4
# This program is free software; you can redistribute it and/or
5
# modify it under the terms of the GNU General Public License
6
# as published by the Free Software Foundation; either version 2
7
# of the License, or (at your option) any later version.
8
#
9
# This program is distributed in the hope that it will be useful,
10
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
# GNU General Public License for more details.
13
#
14
# You should have received a copy of the GNU General Public License
15
# along with this program; if not, write to the Free Software
16
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
17

  
18

  
19
# DO NOT MODIFY THIS FILE !!!
20
# Settings can be defined through the application in Admin -> Settings
21

  
22
app_title:
23
  default: Redmine
24
app_subtitle:
25
  default: Project management
26
welcome_text:
27
  default:
28
login_required:
29
  default: 0
30
self_registration:
31
  default: '2'
32
lost_password:
33
  default: 1
34
unsubscribe:
35
  default: 1
36
password_min_length:
37
  format: int
38
  default: 8
39
# Maximum lifetime of user sessions in minutes
40
session_lifetime:
41
  format: int
42
  default: 0
43
# User session timeout in minutes
44
session_timeout:
45
  format: int
46
  default: 0
47
attachment_max_size:
48
  format: int
49
  default: 5120
50
issues_export_limit:
51
  format: int
52
  default: 500
53
activity_days_default:
54
  format: int
55
  default: 30
56
per_page_options:
57
  default: '25,50,100'
58
mail_from:
59
  default: redmine@example.net
60
bcc_recipients:
61
  default: 1
62
plain_text_mail:
63
  default: 0
64
text_formatting:
65
  default: textile
66
cache_formatted_text:
67
  default: 0
68
wiki_compression:
69
  default: ""
70
default_language:
71
  default: en
72
host_name:
73
  default: localhost:3000
74
protocol:
75
  default: http
76
feeds_limit:
77
  format: int
78
  default: 15
79
gantt_items_limit:
80
  format: int
81
  default: 500
82
# Maximum size of files that can be displayed
83
# inline through the file viewer (in KB)
84
file_max_size_displayed:
85
  format: int
86
  default: 512
87
diff_max_lines_displayed:
88
  format: int
89
  default: 1500
90
enabled_scm:
91
  serialized: true
92
  default:
93
  - Subversion
94
  - Darcs
95
  - Mercurial
96
  - Cvs
97
  - Bazaar
98
  - Git
99
autofetch_changesets:
100
  default: 1
101
sys_api_enabled:
102
  default: 0
103
sys_api_key:
104
  default: ''
105
commit_cross_project_ref:
106
  default: 0
107
commit_ref_keywords:
108
  default: 'refs,references,IssueID'
109
commit_fix_keywords:
110
  default: 'fixes,closes'
111
commit_fix_status_id:
112
  format: int
113
  default: 0
114
commit_fix_done_ratio:
115
  default: 100
116
commit_logtime_enabled:
117
  default: 0
118
commit_logtime_activity_id:
119
  format: int
120
  default: 0
121
# autologin duration in days
122
# 0 means autologin is disabled
123
autologin:
124
  format: int
125
  default: 0
126
# date format
127
date_format:
128
  default: ''
129
time_format:
130
  default: ''
131
user_format:
132
  default: :firstname_lastname
133
  format: symbol
134
cross_project_issue_relations:
135
  default: 0
136
# Enables subtasks to be in other projects
137
cross_project_subtasks:
138
  default: 'tree'
139
issue_group_assignment:
140
  default: 0
141
default_issue_start_date_to_creation_date:
142
  default: 1
143
notified_events:
144
  serialized: true
145
  default:
146
  - issue_added
147
  - issue_updated
148
mail_handler_body_delimiters:
149
  default: ''
150
mail_handler_api_enabled:
151
  default: 0
152
mail_handler_api_key:
153
  default:
154
issue_list_default_columns:
155
  serialized: true
156
  default:
157
  - tracker
158
  - status
159
  - priority
160
  - subject
161
  - assigned_to
162
  - updated_on
163
display_subprojects_issues:
164
  default: 1
165
issue_done_ratio:
166
  default: 'issue_field'
167
default_projects_public:
168
  default: 1
169
default_projects_modules:
170
  serialized: true
171
  default:
172
  - issue_tracking
173
  - time_tracking
174
  - news
175
  - documents
176
  - files
177
  - wiki
178
  - repository
179
  - boards
180
  - calendar
181
  - gantt
182
# Role given to a non-admin user who creates a project
183
new_project_user_role_id:
184
  format: int
185
  default: ''
186
sequential_project_identifiers:
187
  default: 0
188
# encodings used to convert repository files content to UTF-8
189
# multiple values accepted, comma separated
190
repositories_encodings:
191
  default: ''
192
# encoding used to convert commit logs to UTF-8
193
commit_logs_encoding:
194
  default: 'UTF-8'
195
repository_log_display_limit:
196
  format: int
197
  default: 100
198
ui_theme:
199
  default: ''
200
emails_footer:
201
  default: |-
202
    You have received this notification because you have either subscribed to it, or are involved in it.
203
    To change your notification preferences, please click here: http://hostname/my/account
204
gravatar_enabled:
205
  default: 0
206
openid:
207
  default: 0
208
gravatar_default:
209
  default: ''
210
start_of_week:
211
  default: ''
212
rest_api_enabled:
213
  default: 0
214
default_notification_option:
215
  default: 'only_my_events'
216
emails_header:
217
  default: ''
218
thumbnails_enabled:
219
  default: 0
220
thumbnails_size:
221
  format: int
222
  default: 100
223
non_working_week_days:
224
  serialized: true
225
  default:
226
  - '6'
227
  - '7'

Also available in: Unified diff