To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / vendor / plugins / redmine_bibliography / app / views / projects / _bibliography_box.html.erb @ 721:7c7ef64e68da
History | View | Annotate | Download (849 Bytes)
| 1 | 646:e01aa4ccc0a2 | chris | <% if @project.publications.any? %>
|
|---|---|---|---|
| 2 | 645:b83173d26d86 | chris | <%= stylesheet_link_tag 'bibliography', :plugin => 'redmine_bibliography' %>
|
| 3 | <div id="bibliography"> |
||
| 4 | <div class="box"> |
||
| 5 | <h3><%=l(:label_related_publication_plural)%></h3> |
||
| 6 | |||
| 7 | <dl>
|
||
| 8 | <% @project.publications.each do |publication| %>
|
||
| 9 | <dt>
|
||
| 10 | <span class="authors"> |
||
| 11 | 719:3f7bea56f35b | chris | <%= publication.authorships.map { |a| h a.name_on_paper }.join(', ') %><% if !publication.authorships.empty? %>.<% end %> |
| 12 | 645:b83173d26d86 | chris | </span>
|
| 13 | 719:3f7bea56f35b | chris | <span class="title"><%= link_to publication.title, :controller => 'publications', :action => 'show', :id => publication, :project_id => @project %></span> |
| 14 | 645:b83173d26d86 | chris | <% if publication.bibtex_entry.year.to_s != "" %>
|
| 15 | <span class="year"> |
||
| 16 | 721:7c7ef64e68da | chris | (<%= publication.bibtex_entry.year %>) |
| 17 | 645:b83173d26d86 | chris | </span>
|
| 18 | <% end %>
|
||
| 19 | 719:3f7bea56f35b | chris | </dt><dd></dd> |
| 20 | 645:b83173d26d86 | chris | <% end -%>
|
| 21 | </dl>
|
||
| 22 | 465:5123e3a1c9cb | luis | </div>
|
| 23 | 645:b83173d26d86 | chris | </div>
|
| 24 | 465:5123e3a1c9cb | luis | <% end %> |