Project

General

Profile

Actions

Patch #1746

closed

Patch for #1738; Add a "Hide on overview tab" flag to project custom fields

Added by Mischa The Evil over 15 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Custom fields
Target version:
-
Start date:
2008-08-05
Due date:
% Done:

0%

Estimated time:

Description

Here is a quick patch for adding a "Hide from Overview" flag to project custom fields. As it's name states it adds a new flag to project's custom fields which lets the user decide if the project's custom field is showned on the project's overview page.
This feature comes in handy combined with the use of several plugins which stores info/settings in project's custom fields (like redmine_tab, googlecalendar...). Now it is possible to hide the fields which are used for those plugins only.

This patch resolves feature-request #1738. It is created against r1715 of the trunk.

This patch includes a schema-change, 3 changes to some views and a change to the english language file. It doesn't provide translations for other languages than english. It also does not provide any (modified) (unit-)tests since afaics these are not affected.

Note: since this patch includes a schema-change it is required to migrate your database after applying this patch (using rake db:migrate RAILS_ENV="production").

Disclaimer: This patch is provided by a RoR-newbie with a basic structural-PHP background only!


Files

add_project-custom-field_hide.patch (3.21 KB) add_project-custom-field_hide.patch Mischa The Evil, 2008-08-05 04:53
add_project-custom-field_hide-r2641.patch (3.19 KB) add_project-custom-field_hide-r2641.patch Patch based on trunk @ r2641 Mischa The Evil, 2009-03-29 21:48

Related issues

Related to Redmine - Feature #4298: An "internal" option for custom fieldsClosed2009-11-27

Actions
Related to Redmine - Feature #1738: Add a "Visible" flag to project/user custom fieldsClosed2008-08-03

Actions
Actions

Also available in: Atom PDF