Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
OHR Support
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
97
Issues
97
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
OHR Support
Commits
d2b89f5f
Commit
d2b89f5f
authored
Jul 30, 2006
by
Jean-Philippe Lang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://redmine.rubyforge.org/svn/trunk@19
e93f8b46-1217-0410-a6f0-8f06a7374b81
parent
6b08e1b3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
6 deletions
+13
-6
list_files.rhtml
redmine/app/views/projects/list_files.rhtml
+3
-3
_simple.rhtml
redmine/app/views/reports/_simple.rhtml
+10
-3
No files found.
redmine/app/views/projects/list_files.rhtml
View file @
d2b89f5f
...
...
@@ -14,9 +14,8 @@
</tr>
<%
for
version
in
@versions
%>
<tr>
<td
colspan=
"7"
>
<%=
image_tag
'package'
%>
<b>
<%=
version
.
name
%>
</b></td>
</tr>
<%
unless
version
.
attachments
.
empty?
%>
<tr><td
colspan=
"7"
>
<%=
image_tag
'package'
%>
<b>
<%=
version
.
name
%>
</b></td></tr>
<%
for
file
in
version
.
attachments
%>
<tr
class=
"
<%=
cycle
(
"odd"
,
"even"
)
%>
"
>
<td></td>
...
...
@@ -35,6 +34,7 @@
</tr>
<%
end
reset_cycle
%>
<%
end
%>
<%
end
%>
</table>
...
...
redmine/app/views/reports/_simple.rhtml
View file @
d2b89f5f
<%
if
@statuses
.
empty?
or
rows
.
empty?
%>
<p><i>
<%=
l
(
:label_no_data
)
%>
</i></p>
<%
else
%>
<%
col_width
=
70
/
(
@statuses
.
length
+
3
)
%>
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"2"
width=
"100%"
>
<tr>
<td
width=
"25%"
></td>
...
...
@@ -28,7 +30,11 @@
:set_filter
=>
1
,
"
#{
field_name
}
"
=>
row
.
id
,
"status_id"
=>
"O"
%>
</td>
<td
align=
"center"
>
<%=
aggregate
data
,
{
field_name
=>
row
.
id
,
"closed"
=>
1
}
%>
</td>
<td
align=
"center"
>
<%=
link_to
(
aggregate
data
,
{
field_name
=>
row
.
id
,
"closed"
=>
1
}),
:controller
=>
'projects'
,
:action
=>
'list_issues'
,
:id
=>
@project
,
:set_filter
=>
1
,
"
#{
field_name
}
"
=>
row
.
id
,
"status_id"
=>
"C"
%>
</td>
<td
align=
"center"
>
<%=
link_to
(
aggregate
data
,
{
field_name
=>
row
.
id
}),
:controller
=>
'projects'
,
:action
=>
'list_issues'
,
:id
=>
@project
,
:set_filter
=>
1
,
...
...
@@ -36,4 +42,5 @@
"status_id"
=>
"A"
%>
</td>
<%
end
%>
</tr>
</table>
\ No newline at end of file
</table>
<%
end
%>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment