Search
Project
General
Profile
Home
Projects
Help
Sign in
Register
Search
:
Redmine
All Projects
Redmine
Overview
Download
Activity
Roadmap
Issues
News
Wiki
Plugins
Forums
Repository
Download (464 Bytes)
Patch #231
» _cc_feeds.rhtml
Carlos Segura
, 2008-02-03 11:01
<div
class=
"box"
>
<h3>
Cruise Control
</h3>
<%
if
@cc_feed
.
empty?
%>
<p><i>
No data.
</i></p>
<%
end
%>
<%
items
=
@cc_feed
[
:items
]
if
items
.
length
>
5
items
=
items
[
-
5
,
items
.
length
]
end
%>
<ul>
<%
items
.
reverse_each
do
|
m
|
%>
<li><b>
<%=
m
[
:pubDate
]
%>
</b></li>
<br/><font
color=
<%=
(
m
[
:title
]
=~
/success/
&&
'green'
||
'red'
)
%>
>
<%=
m
[
:title
]
%>
</font
>
<%
end
%>
</ul>
</div>
« Previous
1
2
3
4
Next »
(1-1/4)
Loading...