view plugins/redmine_bibliography/app/views/authors/show.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
<h2><%=l(:label_authors_show)%></h2>

<div class="autoscroll">
  <table class="list authors">		
  	<thead>
  	  <tr>
  	    <th><%=l(:field_authorship_publication_title)%></th>
  	    <th><%=l(:field_authorship_name)%></th>
  	    <th><%=l(:field_authorship_email)%></th>
	 	    <th><%=l(:field_authorship_institution)%></th>
  	  </tr>
  	</thead>
  
     <% @author.authorships.each do |authorship| %>
       <tr id="authorship-<%= authorship.id %>" class="<%= cycle('odd', 'even') %>">
         <td class="title"><%= link_to_publication(authorship.publication) %></td>
         <td class="name"><%= h authorship.name_on_paper %></td>
         <td class="email"><%= h authorship.email %></td>
         <td class="institution"><%= h authorship.institution %></td>
       </tr>
    <% end %>
  	</tbody>
  </table>
</div>

<% content_for :sidebar do %>
<% end %>