Feature #41976 » 0001-Fix-Avoid-literal-string-will-be-frozen-in-the-futur.patch
| app/views/gantts/show.html.erb | ||
|---|---|---|
|
style += "height:#{height}px;"
|
||
|
style += "font-size:0.7em;"
|
||
|
clss = "gantt_hdr"
|
||
|
clss << " nwday" if @gantt.non_working_week_days.include?(wday)
|
||
|
clss += " nwday" if @gantt.non_working_week_days.include?(wday)
|
||
|
%>
|
||
|
<%= content_tag(:div, :style => style, :class => clss) do %>
|
||
|
<%= day_num.day %>
|
||
| ... | ... | |
|
style += "height: #{height}px;"
|
||
|
style += "font-size:0.7em;"
|
||
|
clss = "gantt_hdr"
|
||
|
clss << " nwday" if @gantt.non_working_week_days.include?(g_date.cwday)
|
||
|
clss += " nwday" if @gantt.non_working_week_days.include?(g_date.cwday)
|
||
|
%>
|
||
|
<%= content_tag(:div, :style => style, :class => clss) do %>
|
||
|
<%= day_letter(g_date.cwday) %>
|
||
| app/views/repositories/_breadcrumbs.html.erb | ||
|---|---|---|
|
@repository.identifier.presence || 'root', :action => 'show',
|
||
|
:id => @project, :repository_id => @repository.identifier_param,
|
||
|
:path => nil, :rev => @rev)
|
||
|
link_path = ''
|
||
|
link_path = +''
|
||
|
dirs.each do |dir|
|
||
|
next if dir.blank?
|
||
| lib/redmine/i18n.rb | ||
|---|---|---|
|
languages_options :cache => false
|
||
|
end
|
||
|
end
|
||
|
options.map {|name, lang| [name.force_encoding("UTF-8"), lang.force_encoding("UTF-8")]}
|
||
|
options.map {|name, lang| [(+name).force_encoding("UTF-8"), (+lang).force_encoding("UTF-8")]}
|
||
|
end
|
||
|
def find_language(lang)
|
||