Mercurial > hg > soundsoftware-site
view plugins/redmine_bibliography/app/views/my/blocks/_publications_box.html.erb @ 1621:3a510bf6a9bc
Merge from live branch
author | Chris Cannam |
---|---|
date | Fri, 13 Jul 2018 10:44:33 +0100 |
parents | b4b72f1eb644 |
children |
line wrap: on
line source
<% get_my_publications %> <h3><%=l(:label_my_publications_box) %> <%= "(" + @my_publications.count.to_s + ")" %> </h3> <table class="list publications"> <thead><tr> <th><%=l(:field_publication_title)%></th> <th><%=l(:field_publication_authors)%></th> <th><%=l(:field_publication_projects)%></th> </tr></thead> <tbody> <% @my_publications.each do |publication|%> <tr id="publication-<%= publication.id %>" class="<%= cycle('odd', 'even') %>"> <td class="title"> <%= link_to publication.title, publication %> </td> <td class="authors"> <%= render_publications_authors(publication) %> </td> <td class="project"> <%= render_publications_projects(publication) %> </td> </tr> <% end %> </tbody> </table>