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 (667 Bytes)
How to use SortHelper and Filters in a Redmine Plugin?
» index.html.erb
index.html.erb -
Marco Nobler
, 2012-03-05 15:01
<table>
<thead>
<tr>
<%=
sort_header_tag
(
'id'
,
:title
=>
'Identificativo'
)
%>
<%=
sort_header_tag
(
'livello_gravita'
,
:caption
=>
'Livello Gravita'
)
%>
<%=
sort_header_tag
(
'name'
)
%>
<%=
sort_header_tag
(
'description'
,
:width
=>
200
)
%>
</tr>
</thead>
<tbody>
<%
@bugs
.
each
do
|
bug
|
%>
<tr>
<!--<td><#%= link_to bug[:id], :controller => "bugs", :action => "show", :id => bug[:id] %></td>-->
<td>
<%=
bug
[
:id
]
%>
</td>
<td>
<%=
bug
[
:livello_gravita
]
%>
</td>
<td>
<%=
bug
[
:name
]
%>
</td>
<td>
<%=
bug
[
:description
]
%>
</td>
</tr>
<%
end
%>
</tbody>
</table>
« Previous
1
2
3
Next »
(2-2/3)
Loading...