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 / publications / show.html.erb @ 452:34a6cf259682
History | View | Annotate | Download (693 Bytes)
| 1 | 426:8a8b7a042b9a | luis | <h2>Publication Details</h2> |
|---|---|---|---|
| 2 | <h4>Title</h4> |
||
| 3 | 445:77f88379115a | luis | <%= h @publication.title %>
|
| 4 | 329:4575b631f6ce | luis | |
| 5 | 426:8a8b7a042b9a | luis | <h4>Authors</h4> |
| 6 | 446:995d4c99843d | luis | <% for author in @publication.authors %>
|
| 7 | <%= h author.name %> <br /> |
||
| 8 | <% end %>
|
||
| 9 | 426:8a8b7a042b9a | luis | <br /> |
| 10 | |||
| 11 | 445:77f88379115a | luis | <%- if @publication.bibtex_entry != nil -%>
|
| 12 | 426:8a8b7a042b9a | luis | <% @publication.bibtex_entry.attributes.each do |field| %>
|
| 13 | <% if field[1] != nil %>
|
||
| 14 | <h4><%= field[0] %></h4> |
||
| 15 | <%= @publication.bibtex_entry.attributes[field[0]] unless field[1] == nil %>
|
||
| 16 | <br /> |
||
| 17 | 445:77f88379115a | luis | <%- end -%>
|
| 18 | <%- end -%>
|
||
| 19 | <%- end -%>
|
||
| 20 | 425:4ecbc22579e2 | luis | |
| 21 | |||
| 22 | 452:34a6cf259682 | luis | |
| 23 | <p>
|
||
| 24 | <%= link_to "Edit", edit_publication_path(@publication) %> |
|
||
| 25 | <%= link_to "Destroy", @publication, :confirm => 'Are you sure?', :method => :delete %> |
|
||
| 26 | <%= link_to "View All", publications_path %>
|
||
| 27 | </p>
|
||
| 28 |