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

Versions progress in view is too much #8

Open
stonier opened this issue Jun 10, 2012 · 1 comment
Open

Versions progress in view is too much #8

stonier opened this issue Jun 10, 2012 · 1 comment

Comments

@stonier
Copy link

stonier commented Jun 10, 2012

We have alot of projects, subprojects and versions. At the moment, the default collapsed view of a project lists all versions, including their subproject versions which results in a project view more than 20 pages long and much noisier than even the default redmine projects view.

It would be nice if this had an option to turn all the version progress reports off and just include the first report for each project. The sort of thing I'm looking for is to be able to toggle the following code in lib/projectstreeview_projects_helper_patch.rb:

-      project_versions = project_open(project)
-
-      unless project_versions.empty?
-        s << "<div>".html_safe
-        project_versions.reverse_each do |version|
-          unless version.completed?
-            s << "<div style=\"clear:both; display: block\">".html_safe + link_to_version(versi
-            link_to_if(version.open_issues_count > 0, l(:label_x_open_issues_abbr, :count => ve
-            "<small> / ".html_safe + link_to_if(version.closed_issues_count > 0, l(:label_x_clo
-            s << due_date_distance_in_words(version.effective_date) if version.effective_date
-            s << "</div><br />".html_safe +
-            progress_bar([version.closed_pourcent, version.completed_pourcent], :width => '30em
-          end
-        end
-        s << "</div>".html_safe
-      end

This results in a nice concise view of projects at a glance (which was the original intention of this project no?).

Actually, being able to toggle plugin parameters to determine which components to display (description, module links, versions, created) would be useful. I've no need for most of them, but I'm sure others find them useful.

@GregAujay
Copy link

+1
There is too much information on this view when versions are displayed.

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

2 participants