# HG changeset patch # User luisf # Date 1306512313 -3600 # Node ID 8a8b7a042b9a25f2907771c14bac073a8ce90d85 # Parent 4ecbc22579e2c24ae2ccf2628c0d8224a222fcf8 more information in the publication's show view diff -r 4ecbc22579e2 -r 8a8b7a042b9a vendor/plugins/redmine_bibliography/app/views/publications/show.html.erb --- a/vendor/plugins/redmine_bibliography/app/views/publications/show.html.erb Thu May 26 17:41:41 2011 +0100 +++ b/vendor/plugins/redmine_bibliography/app/views/publications/show.html.erb Fri May 27 17:05:13 2011 +0100 @@ -1,12 +1,20 @@ -

<%= @publication.title %>

+

Publication Details

+

Title

+<%= @publication.title %> -

Authors

+

Authors

<% @publication.authors.each do |author| %> - <%= author.name %>
+<%= author.name %>
+<% end %> +
+ +<% @publication.bibtex_entry.attributes.each do |field| %> + <% if field[1] != nil %> +

<%= field[0] %>

+ <%= @publication.bibtex_entry.attributes[field[0]] unless field[1] == nil %> +
+ <% end %> <% end %> -

Details

-<%= @publication.bibtex_entry.year %> -