Revision 723:d41bf754c0f2 vendor/plugins/redmine_bibliography/app/views/my/blocks
| vendor/plugins/redmine_bibliography/app/views/my/blocks/_publications_box.html.erb | ||
|---|---|---|
| 1 |
<% get_my_publications %> |
|
| 2 |
|
|
| 3 |
<h3><%=l(:label_my_publications_box) %> <%= "(" + @my_publications.count.to_s + ")" %> </h3>
|
|
| 4 |
|
|
| 5 |
<table class="list publications"> |
|
| 6 |
<thead><tr> |
|
| 7 |
<th><%=l(:field_publication_title)%></th> |
|
| 8 |
<th><%=l(:field_publication_authors)%></th> |
|
| 9 |
<th><%=l(:field_publication_projects)%></th> |
|
| 10 |
</tr></thead> |
|
| 11 |
<tbody> |
|
| 12 |
|
|
| 13 |
<% @my_publications.each do |publication|%> |
|
| 14 |
<tr id="publication-<%= publication.id %>" class="<%= cycle('odd', 'even') %>">
|
|
| 15 |
<td class="title"> |
|
| 16 |
<%= link_to publication.title, publication %> |
|
| 17 |
</td> |
|
| 18 |
<td class="authors"> |
|
| 19 |
<%= render_publications_authors(publication) %> |
|
| 20 |
</td> |
|
| 21 |
<td class="project"> |
|
| 22 |
<%= render_publications_projects(publication) %> |
|
| 23 |
</td> |
|
| 24 |
</tr> |
|
| 25 |
<% end %> |
|
| 26 |
</tbody> |
|
| 27 |
</table> |
|
| 28 |
|
|
| 29 |
|
|
| 30 |
|
|
Also available in: Unified diff