giddie / redmine_default_assign

Redmine ticket #482:Default assignment setting -- converted to a plugin and then extended.
Other
34 stars 26 forks source link

Spanish translation and Show select in project only when members #1

Closed manfer closed 11 years ago

manfer commented 11 years ago

I have added a spanish translation.

And a check in the project form hook so the assignee field is only shown when there are members in the project that the project can be assigned to. This way the assignee field is not shown in the project creation page which is what I really wanted in first place -nor it is shown in the settings form, the update form if there are not members in the project-.

I'm too new to ruby&rails and redmine to find the way to check if the controller was projects and the action new that would be enough to remove the field from the new project creation form but anyway I think this check that shows only the assignee field when there are members is better.

I wanted to do two separated pull request but I probably forgot to do separate branch for the two features.

giddie commented 11 years ago

Great; thanks Fernando. I implemented the fix in the second commit slightly differently, but the effect is exactly the same. Thanks for sending this.