Commit Graph

67 Commits

Author SHA1 Message Date
Jean-Philippe Lang 20f9c98de2 Form tag without action attribute is invalid.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8562 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 17:18:53 +00:00
Jean-Philippe Lang 32b91e685e Do not generate duplicate ids and fixes tag attribute.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8561 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 17:16:46 +00:00
Jean-Philippe Lang f1b93601b5 Removes spaces in versions anchors.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8560 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 17:14:17 +00:00
Jean-Philippe Lang 1fd824f0c1 Do not generate empty uls.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8557 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 13:08:06 +00:00
Jean-Philippe Lang a66718239f Do not generate duplicate ids.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8556 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 13:06:19 +00:00
Jean-Philippe Lang f29b57088a html_safe for Rails3
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8283 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 12:26:28 +00:00
Jean-Philippe Lang 9636882c1e Use #labelled_form_for instead of #labelled_tabular_form_for.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8141 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 18:15:55 +00:00
Jean-Philippe Lang 2cca4938cf Removed open/closed percentage on the roadmap.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8075 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 17:44:12 +00:00
Jean-Philippe Lang 0293ba7e9f Version routes cleanup in views.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7937 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-26 14:55:24 +00:00
Jean-Philippe Lang bb8e2beeac Version routes cleanup in views.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7936 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-26 14:53:52 +00:00
Etienne Massip 4ecd65c465 Remove unecessary page title HTML escaping from views (#9252).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7565 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-02 18:45:17 +00:00
Toshi MARUYAMA 8257e6b62b replace tabs to spaces at app/views/versions/_overview.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7395 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-18 02:45:26 +00:00
Toshi MARUYAMA 233c3caf87 replace tabs to spaces at app/views/versions/index.api.rsb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7391 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-18 02:42:31 +00:00
Toshi MARUYAMA 23fa3ac8c3 replace tabs to spaces at app/views/versions/_form.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7354 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 23:04:41 +00:00
Toshi MARUYAMA b589e35cfb replace tabs to spaces at app/views/versions/show.api.rsb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7353 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 23:03:58 +00:00
Toshi MARUYAMA dd4a52058c remove trailing white-spaces from app/views/versions/index.api.rsb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7264 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-16 23:57:15 +00:00
Toshi MARUYAMA 2d92dc85f9 remove trailing white-spaces from app/views/versions/show.api.rsb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7253 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-16 14:10:00 +00:00
Toshi MARUYAMA 86f74fad25 replace tabs to spaces and remove trailing white-spaces at app/views/versions/index.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7236 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-15 09:24:17 +00:00
Toshi MARUYAMA 58a2fd0b9e rename .rhtml to .html.erb of app/views/versions/_issue_counts.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6697 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-28 08:22:05 +00:00
Toshi MARUYAMA ff7df632d8 rename .rhtml to .html.erb of app/views/versions/_form.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6696 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-28 08:21:15 +00:00
Toshi MARUYAMA 864d17213d rename .rhtml to .html.erb of app/views/versions/show.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6695 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-28 08:20:14 +00:00
Toshi MARUYAMA dcbe39adc8 rename .rhtml to .html.erb of app/views/versions/_overview.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6694 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-28 08:19:31 +00:00
Toshi MARUYAMA ddd4ad7015 rename .rhtml to .html.erb of app/views/versions/edit.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6693 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-28 08:18:54 +00:00
Toshi MARUYAMA ec541afc14 HTML escape at app/views/versions/index.html.erb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6396 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 13:22:34 +00:00
Toshi MARUYAMA 15023cced2 HTML escape at app/views/versions/show.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6388 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 13:16:45 +00:00
Toshi MARUYAMA 35daa1b1b0 HTML escape at app/views/versions/_issue_counts.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6375 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 13:07:35 +00:00
Toshi MARUYAMA f9c36d82a1 remove trailing white-spaces from app/views/versions/_issue_counts.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6338 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 12:36:28 +00:00
Toshi MARUYAMA d191b3e846 remove trailing white-spaces from app/views/versions/index.html.erb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6337 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 12:35:15 +00:00
Jean-Philippe Lang 852cb183b1 Makes versions resource shallow (#7403).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6183 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-05 16:29:06 +00:00
Jean-Philippe Lang e950c9db5a Removed leading dash in ruby code.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6181 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 19:40:54 +00:00
Jean-Philippe Lang b86a748b1d Adds REST API for versions (#7403).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6180 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 19:34:58 +00:00
Jean-Philippe Lang 7d658e1477 Adds a 'New version' link on the roadmap.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6169 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-03 12:56:27 +00:00
Jean-Philippe Lang c9f31f0332 Adds context menu for related issues on version view.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5600 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 12:18:00 +00:00
Jean-Philippe Lang fb0641d43f Moved the version summary to the right of related issues.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5599 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 12:05:18 +00:00
Jean-Philippe Lang 95c7140cdf Show open and closed issues from "Issues by" version links.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5187 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-21 20:08:16 +00:00
Jean-Baptiste Barth c91ca4fcd9 Fix wikilinks in project > settings > versions and version view. #6435 #4416
Contributed by Mischa The Evil and Felix Schäfer.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4307 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-29 22:40:02 +00:00
Eric Davis e9efa5b981 Refactor: use :id instead of :page when linking to Wiki Pages
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4296 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-27 16:27:06 +00:00
Jean-Baptiste Barth 81a28e9ffa Adds a link to edit the associated wiki page on the version view. #4416
Contributed by Felix Schäfer

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4101 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-18 17:30:22 +00:00
Eric Davis 5fdfe02b3a Refactor: add VersionsController#status_by to the resource.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4098 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-17 16:11:43 +00:00
Eric Davis bd193a026d Refactor: convert VersionsController to a REST resource.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4097 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-17 15:55:08 +00:00
Eric Davis 969bf2107b Refactor: split VersionsController#new into #new and #create
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4090 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-16 18:27:33 +00:00
Eric Davis be6e0927f3 Refactor: Split VersionsController#edit into #edit and #update
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4088 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-15 16:50:25 +00:00
Jean-Baptiste Barth 4b69a895df Fixed broken context_menu on roadmap. #6351
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4082 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-11 14:00:23 +00:00
Eric Davis a188abbe28 Refactor: move method, ProjectsController#roadmap to VersionsController#index.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4050 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-08-30 15:30:28 +00:00
Jean-Philippe Lang a9a4e0d6b8 Moves code to controller.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3865 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-07-25 09:29:17 +00:00
Jean-Philippe Lang 729bea1cf3 Moves ProjectsController#add_version to VersionsController#new.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3548 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-03-06 18:25:01 +00:00
Jean-Philippe Lang 5f8e9d7118 Version sharing (#465) + optional inclusion of subprojects in the roadmap view (#2666).
Each version of a project can be shared with:
* subprojects
* projects in the project hierarchy: ancestors + descendants (needs versions management permission on the root project)
* projects in the project tree: root project + all its descendants (same as above)
* all projects (can be set by admin users only)

Notes:
* when sharing a version of a private project with others projects, its name will be visible within the other projects
* a project with versions used by non descendant projects can not be archived

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3123 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-06 10:28:20 +00:00
Jean-Philippe Lang c309210654 Eager load priorities on roadmap and changelog.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3066 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-15 15:42:44 +00:00
Jean-Philippe Lang ba7cf9c3ce Adds custom fields for versions (#4219).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3064 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-15 15:22:55 +00:00
Jean-Philippe Lang cbeeaa4d4d Refactoring ApplicationHelper#link_to_issue.
Now displays issue subject by default.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3040 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-14 12:53:50 +00:00