File tree 4 files changed +5
-5
lines changed
4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ def self.burndown_timezone(recalc=nil)
19
19
@burndown_timezone ||= begin
20
20
server_tz = ActiveSupport ::TimeZone [ "Etc/GMT-#{ Time . now . utc_offset /3600 } " ] rescue server_tz = nil
21
21
fallback_tz = server_tz || ActiveSupport ::TimeZone [ "UTC" ]
22
- if Backlogs . settings [ :burndown_timezone ] #backlogs configuration for burndown day boundaries
23
- ActiveSupport ::TimeZone [ Backlogs . settings [ :burndown_timezone ] ] || fallback_tz
22
+ if Backlogs . setting [ :burndown_timezone ] #backlogs configuration for burndown day boundaries
23
+ ActiveSupport ::TimeZone [ Backlogs . setting [ :burndown_timezone ] ] || fallback_tz
24
24
else
25
25
fallback_tz
26
26
end
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ def self.__find_options_add_permissions(options)
26
26
end
27
27
28
28
def self . __find_options_sprint_condition ( project_id , sprint_ids )
29
- if Backlogs . settings [ :sharing_enabled ]
29
+ if Backlogs . setting [ :sharing_enabled ]
30
30
[ "
31
31
tracker_id in (?)
32
32
and fixed_version_id IN (?)" , self . trackers , sprint_ids ]
Original file line number Diff line number Diff line change 15
15
16
16
< select class ="tracker_id helper " id ="tracker_id_options ">
17
17
<%- RbStory . trackers ( :project => @project , :type => :trackers ) . each do |tracker | %>
18
- <%- if ( Backlogs . settings [ :default_story_tracker ] && tracker . id . to_s ==Backlogs . settings [ :default_story_tracker ] ) %>
18
+ <%- if ( Backlogs . setting [ :default_story_tracker ] && tracker . id . to_s ==Backlogs . setting [ :default_story_tracker ] ) %>
19
19
< option value ="<%= tracker . id %> " selected ="selected "> <%= h tracker . name %> </ option >
20
20
<%- else %>
21
21
< option value ="<%= tracker . id %> "> <%= h tracker . name %> </ option >
Original file line number Diff line number Diff line change 12
12
< div class ="t "> <%= assignee_name_or_empty ( task ) %> </ div >
13
13
< div class ="v "> <%= assignee_id_or_empty ( task ) %> </ div >
14
14
</ div >
15
- <% if Backlogs . settings [ :show_priority ] || task . priority_id != IssuePriority . default . id %>
15
+ <% if Backlogs . setting [ :show_priority ] || task . priority_id != IssuePriority . default . id %>
16
16
< div class ="priority_id editable " fieldtype ="select " fieldname ="priority_id " fieldlabel ="<%= l ( :field_priority ) %> ">
17
17
< div class ="t "> <%= h task . priority . name %> </ div >
18
18
< div class ="v "> <%= task . priority_id %> </ div >
You can’t perform that action at this time.
0 commit comments