Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Projects/Tasks with multiple line titles should have these displayed correctly #1186

Open
alanbarrett opened this issue Jun 5, 2015 · 1 comment

Comments

@alanbarrett
Copy link
Member

Projects/Tasks with multiple line titles should have these displayed correctly.

The current code uses TEXTAREA for titles allowing multiple line titles. This may or may not be a good idea. However given that \r\n are currently allowed in titles, these should be converted to
for display (although not for editing unless this is redesigned... See also issue #1162).

This is an issue in multiple templates. I will immediately fix in the most important places, but it should eventually be fixed everywhere and also possibly for other fields with the same issue.

Fixed initially for the home page in commit 9d24bd7 and commit ece5d7c

create-org.tpl, create-org.tpl and org-private-profile.tpl address the same issue (for Address and Biography) in a somewhat different way, but that approach would change the database storage of new lines and have effects on the back end e-mails.

Alan.
@alanbarrett
Copy link
Member Author

So the following templates (not the full set of fixes required, but the most important) have been fixed and moved to the live server...
ui/templating/templates/index.tpl
ui/templating/templates/task/claimed-tasks.tpl
ui/templating/templates/task/recent-tasks.tpl
ui/templating/templates/org/org.dashboard.tpl
ui/templating/templates/project/project.alter.tpl
ui/templating/templates/project/project.view.tpl
ui/templating/templates/task/task.create.tpl
ui/templating/templates/task/task.alter.tpl
ui/templating/templates/task/task.view.tpl
ui/templating/templates/task/task.details.tpl
ui/templating/templates/task/task-simple-upload.tpl

Alan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant