# HG changeset patch # User Chris Cannam # Date 1318867112 -3600 # Node ID 3f7bea56f35b91d39797a9e5fad2a8e921e999a8 # Parent fce7374e48b781c1353c8554a3e547d7c9afc136 Adjust publications layout (experimentally) to resemble traditional practice a bit more diff -r fce7374e48b7 -r 3f7bea56f35b vendor/plugins/redmine_bibliography/app/views/projects/_bibliography_box.html.erb --- a/vendor/plugins/redmine_bibliography/app/views/projects/_bibliography_box.html.erb Tue Oct 04 10:55:00 2011 +0100 +++ b/vendor/plugins/redmine_bibliography/app/views/projects/_bibliography_box.html.erb Mon Oct 17 16:58:32 2011 +0100 @@ -7,18 +7,16 @@
<% @project.publications.each do |publication| %>
- <%= link_to publication.title, :controller => 'publications', :action => 'show', :id => publication, :project_id => @project %> -
-
- <%= 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, :project_id => @project %> <% if publication.bibtex_entry.year.to_s != "" %> - <%= publication.bibtex_entry.year %> + (<%= publication.bibtex_entry.year %>) <% end %> -
+
<% end -%>
diff -r fce7374e48b7 -r 3f7bea56f35b vendor/plugins/redmine_bibliography/assets/stylesheets/bibliography.css --- a/vendor/plugins/redmine_bibliography/assets/stylesheets/bibliography.css Tue Oct 04 10:55:00 2011 +0100 +++ b/vendor/plugins/redmine_bibliography/assets/stylesheets/bibliography.css Mon Oct 17 16:58:32 2011 +0100 @@ -39,6 +39,7 @@ div#bibliography dd { margin-bottom: 1em; padding-left: 18px; font-size: 0.9em; } div#bibliography .box dd { margin-bottom: 0.6em; padding-left: 0; } div#bibliography dd .authors { font-style: italic; } +div#bibliography dt .title { font-style: italic; } div#bibliography dd span.authors { color: #808080; } div#bibliography dd span.year { padding-left: 0.6em; }