Patch #4277 ยป add-setting-hide_prefixed_projectname_from_issuesubject_on_issuelist-r3078.patch
| app/helpers/queries_helper.rb (working copy) | ||
|---|---|---|
|
else
|
||
|
case column.name
|
||
|
when :subject
|
||
|
h((!@project.nil? && @project != issue.project) ? "#{issue.project.name} - " : '') +
|
||
|
if Setting.hide_prefixed_projectname_from_issuesubject_on_issuelist?
|
||
|
link_to(h(value), :controller => 'issues', :action => 'show', :id => issue)
|
||
|
else
|
||
|
h((!@project.nil? && @project != issue.project) ? "#{issue.project.name} - " : '') +
|
||
|
link_to(h(value), :controller => 'issues', :action => 'show', :id => issue)
|
||
|
end
|
||
|
when :project
|
||
|
link_to(h(value), :controller => 'projects', :action => 'show', :id => value)
|
||
|
when :assigned_to
|
||
| app/views/settings/_issues.rhtml (working copy) | ||
|---|---|---|
|
<%= check_box_tag 'settings[display_subprojects_issues]', 1, Setting.display_subprojects_issues? %>
|
||
|
</p>
|
||
|
<p><label><%= l(:setting_hide_prefixed_projectname_from_issuesubject_on_issuelist) %></label>
|
||
|
<%= hidden_field_tag 'settings[hide_prefixed_projectname_from_issuesubject_on_issuelist]', 0 %>
|
||
|
<%= check_box_tag 'settings[hide_prefixed_projectname_from_issuesubject_on_issuelist]', 1, Setting.hide_prefixed_projectname_from_issuesubject_on_issuelist? %>
|
||
|
</p>
|
||
|
<p><label><%= l(:setting_issues_export_limit) %></label>
|
||
|
<%= text_field_tag 'settings[issues_export_limit]', Setting.issues_export_limit, :size => 6 %></p>
|
||
|
</div>
|
||
| config/settings.yml (working copy) | ||
|---|---|---|
|
default: 0
|
||
|
gravatar_default:
|
||
|
default: ''
|
||
|
hide_prefixed_projectname_from_issuesubject_on_issuelist:
|
||
|
default: 0
|
||
| config/locales/en.yml (working copy) | ||
|---|---|---|
|
setting_password_min_length: Minimum password length
|
||
|
setting_new_project_user_role_id: Role given to a non-admin user who creates a project
|
||
|
setting_default_projects_modules: Default enabled modules for new projects
|
||
|
setting_hide_prefixed_projectname_from_issuesubject_on_issuelist: Hide the prefixed project name from issue subjects on project-specific issue lists
|
||
|
|
||
|
permission_add_project: Create project
|
||
|
permission_edit_project: Edit project
|
||