Revision 1298:4f746d8966dd .svn/pristine/1b

View differences:

.svn/pristine/1b/1b0ed23201303f160d7d4495d1661d066db9d987.svn-base
1
<form id="status_by_form">
2
<fieldset>
3
<legend>
4
<%= l(:label_issues_by,
5
       select_tag('status_by',
6
                   status_by_options_for_select(criteria),
7
                   :id => 'status_by_select',
8
                   :onchange => remote_function(:url => status_by_version_path(version),
9
                                                :with => "Form.serialize('status_by_form')"))) %>
10
</legend>
11
<% if counts.empty? %>
12
    <p><em><%= l(:label_no_data) %></em></p>
13
<% else %>
14
    <table>
15
    <% counts.each do |count| %>
16
    <tr>
17
        <td width="130px" align="right" >
18
            <%= link_to h(count[:group]), {:controller => 'issues',
19
                                        :action => 'index',
20
                                        :project_id => version.project,
21
                                        :set_filter => 1,
22
                                        :status_id => '*',
23
                                        :fixed_version_id => version}.merge("#{criteria}_id".to_sym => count[:group]) %>
24
        </td>
25
        <td width="240px">
26
            <%= progress_bar((count[:closed].to_f / count[:total])*100,
27
                  :legend => "#{count[:closed]}/#{count[:total]}",
28
                  :width => "#{(count[:total].to_f / max * 200).floor}px;") %>
29
        </td>
30
    </tr>
31
    <% end %>
32
    </table>
33
<% end %>
34
</fieldset>
35
</form>
.svn/pristine/1b/1b578055102e356a87f5f77cb58bb01b760471f9.svn-base
1
plain template
.svn/pristine/1b/1bf322e40d14051308bb92bbfb41fdba8ea03c74.svn-base
1
# encoding: utf-8
2
#
3
# Redmine - project management software
4
# Copyright (C) 2006-2011  Jean-Philippe Lang
5
#
6
# This program is free software; you can redistribute it and/or
7
# modify it under the terms of the GNU General Public License
8
# as published by the Free Software Foundation; either version 2
9
# of the License, or (at your option) any later version.
10
#
11
# This program is distributed in the hope that it will be useful,
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
# GNU General Public License for more details.
15
#
16
# You should have received a copy of the GNU General Public License
17
# along with this program; if not, write to the Free Software
18
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
19

  
20
module BoardsHelper
21
end

Also available in: Unified diff