# HG changeset patch # User Chris Cannam # Date 1318867426 -3600 # Node ID 7c7ef64e68dace5267c716d57a33e6151cbea4e8 # Parent 5eb7efd59ed79281ddf33fa26eb277d9486d02b3 More adjustment to publications layout diff -r 5eb7efd59ed7 -r 7c7ef64e68da vendor/plugins/redmine_bibliography/app/views/projects/_bibliography_box.html.erb --- a/vendor/plugins/redmine_bibliography/app/views/projects/_bibliography_box.html.erb Mon Oct 17 16:58:48 2011 +0100 +++ b/vendor/plugins/redmine_bibliography/app/views/projects/_bibliography_box.html.erb Mon Oct 17 17:03:46 2011 +0100 @@ -13,7 +13,7 @@ <%= link_to publication.title, :controller => 'publications', :action => 'show', :id => publication, :project_id => @project %> <% if publication.bibtex_entry.year.to_s != "" %> - (<%= publication.bibtex_entry.year %>) +  (<%= publication.bibtex_entry.year %>) <% end %>
diff -r 5eb7efd59ed7 -r 7c7ef64e68da vendor/plugins/redmine_bibliography/app/views/users/show.rhtml --- a/vendor/plugins/redmine_bibliography/app/views/users/show.rhtml Mon Oct 17 16:58:48 2011 +0100 +++ b/vendor/plugins/redmine_bibliography/app/views/users/show.rhtml Mon Oct 17 17:03:46 2011 +0100 @@ -51,18 +51,17 @@ <% @publications.each do |publication|%>
- <%= link_to publication.title, :controller => 'publications', :action => 'show', :id => publication %> -
- -
- <%= publication.authorships.map { |a| h a.name_on_paper }.join(', ') %> + <%= publication.authorships.map { |a| h a.name_on_paper }.join(', ') %><% if !publication.authorships.empty? %>.<% end %> + <%= link_to publication.title, :controller => 'publications', :action => 'show', :id => publication %> <% if publication.bibtex_entry.year.to_s != "" %> - <%= publication.bibtex_entry.year %> +  (<%= publication.bibtex_entry.year %>) <% end %> + +
<% end %>