Defect #15191 » html_validation_patch.diff
| app/helpers/queries_helper.rb (revision 1298) | ||
|---|---|---|
|
end
|
||
|
def filters_options(query)
|
||
|
options = [[]]
|
||
|
options = [[' '.html_safe, ""]]
|
||
|
options += query.available_filters.map do |field, field_options|
|
||
|
[field_options[:name], field]
|
||
|
end
|
||
| app/helpers/application_helper.rb (revision 1298) | ||
|---|---|---|
|
if @project
|
||
|
link_to(text, {:controller => 'activities', :action => 'index', :id => @project, :from => User.current.time_to_date(time)}, :title => format_time(time))
|
||
|
else
|
||
|
content_tag('acronym', text, :title => format_time(time))
|
||
|
content_tag('abbr', text, :title => format_time(time))
|
||
|
end
|
||
|
end
|
||
| app/views/users/_mail_notifications.html.erb (revision 1298) | ||
|---|---|---|
|
<%= render_project_nested_lists(@user.projects) do |project|
|
||
|
content_tag('label',
|
||
|
check_box_tag(
|
||
|
'notified_project_ids[]',
|
||
|
project.id,
|
||
|
@user.notified_projects_ids.include?(project.id)
|
||
|
"notified_project_ids[]",
|
||
|
project.id,
|
||
|
@user.notified_projects_ids.include?(project.id),
|
||
|
:id => "notified_project_ids_#{project.id}"
|
||
|
) + ' ' + h(project.name)
|
||
|
)
|
||
|
end %>
|
||
| app/views/issues/index.html.erb (revision 1298) | ||
|---|---|---|
|
<td><label for='group_by'><%= l(:field_group_by) %></label></td>
|
||
|
<td><%= select_tag('group_by',
|
||
|
options_for_select(
|
||
|
[[]] + @query.groupable_columns.collect {|c| [c.caption, c.name.to_s]},
|
||
|
[[' '.html_safe, ""]] + @query.groupable_columns.collect {|c| [c.caption, c.name.to_s]},
|
||
|
@query.group_by)
|
||
|
) %></td>
|
||
|
</tr>
|
||