Revision 721:7c7ef64e68da vendor/plugins/redmine_bibliography/app

View differences:

vendor/plugins/redmine_bibliography/app/views/projects/_bibliography_box.html.erb
13 13
     <span class="title"><%= link_to publication.title, :controller => 'publications', :action => 'show', :id => publication, :project_id => @project %></span>
14 14
     <% if publication.bibtex_entry.year.to_s != "" %>
15 15
     <span class="year">
16
       (<%= publication.bibtex_entry.year %>)
16
       &nbsp;(<%= publication.bibtex_entry.year %>)
17 17
     </span>
18 18
     <% end %>
19 19
     </dt><dd></dd>
vendor/plugins/redmine_bibliography/app/views/users/show.rhtml
51 51

  
52 52
    <% @publications.each do |publication|%>    
53 53
      <dt>
54
        <%= link_to publication.title, :controller => 'publications', :action => 'show', :id => publication %>
55
      </dt>
56

  
57
      <dd>
58 54
        <span class="authors">
59
          <%= publication.authorships.map { |a| h a.name_on_paper }.join(', ') %>
55
          <%= publication.authorships.map { |a| h a.name_on_paper }.join(', ') %><% if !publication.authorships.empty? %>.<% end %>
60 56
        </span>
57
        <span class="title"><%= link_to publication.title, :controller => 'publications', :action => 'show', :id => publication %></span>
61 58
        <% if publication.bibtex_entry.year.to_s != "" %>
62 59
          <span class="year">
63
            <%= publication.bibtex_entry.year %>
60
            &nbsp;(<%= publication.bibtex_entry.year %>)
64 61
          </span>
65 62
        <% end %>
63
      </dt>
64
      <dd>
66 65
      </dd>
67 66
  	<% end %>
68 67
  </div>

Also available in: Unified diff