Patch #4277 ยป add-setting-hide_prefixed_projectname_from_issuesubject_on_issuelist-r3078.patch
| app/helpers/queries_helper.rb (working copy) | ||
|---|---|---|
| 49 | 49 |
else |
| 50 | 50 |
case column.name |
| 51 | 51 |
when :subject |
| 52 |
h((!@project.nil? && @project != issue.project) ? "#{issue.project.name} - " : '') +
|
|
| 52 |
if Setting.hide_prefixed_projectname_from_issuesubject_on_issuelist?
|
|
| 53 | 53 |
link_to(h(value), :controller => 'issues', :action => 'show', :id => issue) |
| 54 |
else |
|
| 55 |
h((!@project.nil? && @project != issue.project) ? "#{issue.project.name} - " : '') +
|
|
| 56 |
link_to(h(value), :controller => 'issues', :action => 'show', :id => issue) |
|
| 57 |
end |
|
| 54 | 58 |
when :project |
| 55 | 59 |
link_to(h(value), :controller => 'projects', :action => 'show', :id => value) |
| 56 | 60 |
when :assigned_to |
| app/views/settings/_issues.rhtml (working copy) | ||
|---|---|---|
| 11 | 11 |
<%= check_box_tag 'settings[display_subprojects_issues]', 1, Setting.display_subprojects_issues? %> |
| 12 | 12 |
</p> |
| 13 | 13 | |
| 14 |
<p><label><%= l(:setting_hide_prefixed_projectname_from_issuesubject_on_issuelist) %></label> |
|
| 15 |
<%= hidden_field_tag 'settings[hide_prefixed_projectname_from_issuesubject_on_issuelist]', 0 %> |
|
| 16 |
<%= check_box_tag 'settings[hide_prefixed_projectname_from_issuesubject_on_issuelist]', 1, Setting.hide_prefixed_projectname_from_issuesubject_on_issuelist? %> |
|
| 17 |
</p> |
|
| 18 | ||
| 14 | 19 |
<p><label><%= l(:setting_issues_export_limit) %></label> |
| 15 | 20 |
<%= text_field_tag 'settings[issues_export_limit]', Setting.issues_export_limit, :size => 6 %></p> |
| 16 | 21 |
</div> |
| config/settings.yml (working copy) | ||
|---|---|---|
| 170 | 170 |
default: 0 |
| 171 | 171 |
gravatar_default: |
| 172 | 172 |
default: '' |
| 173 |
hide_prefixed_projectname_from_issuesubject_on_issuelist: |
|
| 174 |
default: 0 |
|
| config/locales/en.yml (working copy) | ||
|---|---|---|
| 314 | 314 |
setting_password_min_length: Minimum password length |
| 315 | 315 |
setting_new_project_user_role_id: Role given to a non-admin user who creates a project |
| 316 | 316 |
setting_default_projects_modules: Default enabled modules for new projects |
| 317 |
setting_hide_prefixed_projectname_from_issuesubject_on_issuelist: Hide the prefixed project name from issue subjects on project-specific issue lists |
|
| 317 | 318 |
|
| 318 | 319 |
permission_add_project: Create project |
| 319 | 320 |
permission_edit_project: Edit project |