Revision 426:8a8b7a042b9a vendor

View differences:

vendor/plugins/redmine_bibliography/app/views/publications/show.html.erb
1
<h2><%= @publication.title %></h2>
1
<h2>Publication Details</h2>
2
<h4>Title</h4>
3
<%= @publication.title %>
2 4

  
3
<h3>Authors</h3>
5
<h4>Authors</h4>
4 6
<% @publication.authors.each do |author| %>
5
  <%= author.name  %> <br />
7
<%= author.name  %> <br />
8
<% end %>
9
<br />
10

  
11
<% @publication.bibtex_entry.attributes.each do |field| %>
12
  <% if field[1] != nil %>
13
    <h4><%= field[0] %></h4>
14
    <%= @publication.bibtex_entry.attributes[field[0]] unless field[1] == nil %>
15
    <br />
16
  <% end %>
6 17
<% end %>
7 18

  
8
<h3>Details</h3>
9 19

  
10
<%= @publication.bibtex_entry.year %>
11 20

  
12

  

Also available in: Unified diff