To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / vendor / plugins / redmine_bibliography / app / views / authors / index.html.erb @ 718:378aca14739f
History | View | Annotate | Download (633 Bytes)
| 1 |
<h2><%=l(:label_authors_index)%></h2> |
|---|---|
| 2 |
|
| 3 |
<table class="list authors"> |
| 4 |
<thead><tr> |
| 5 |
<th><%=l(:field_author_name)%></th> |
| 6 |
<th><%=l(:field_author_username)%></th> |
| 7 |
<th><%=l(:field_author_publications)%></th> |
| 8 |
</tr></thead> |
| 9 |
<tbody>
|
| 10 |
|
| 11 |
<% @authors.each do |author|%>
|
| 12 |
<tr id="author-<%= author.id %>" class="<%= cycle('odd', 'even') %>"> |
| 13 |
<td class="title"> |
| 14 |
<%= link_to_author author %>
|
| 15 |
</td>
|
| 16 |
<td class="username "> |
| 17 |
<%= link_to author.user unless author.user.nil? %>
|
| 18 |
</td>
|
| 19 |
<td class="project"> |
| 20 |
<%= render_author_publications(author) %>
|
| 21 |
</td>
|
| 22 |
</tr>
|
| 23 |
<% end %>
|
| 24 |
</tbody>
|
| 25 |
</table>
|
| 26 |
|