Mercurial > hg > soundsoftware-site
view plugins/redmine_bibliography/app/views/projects/_bibliography_box.html.erb @ 1305:097d38a73624 redmine-2.2-integration
Merge from branch cannam
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 11:30:19 +0100 |
parents | b4b72f1eb644 |
children | 17f075c7fd41 |
line wrap: on
line source
<% content_for :header_tags do %> <%= stylesheet_link_tag 'bibliography', :plugin => 'redmine_bibliography' %> <%= javascript_include_tag 'bibtex', :plugin => 'redmine_bibliography' -%> <% end %> <% if @project.publications.any? %> <%= stylesheet_link_tag 'bibliography', :plugin => 'redmine_bibliography' %> <div id="bibliography"> <div class="box"> <h3><%=l(:label_related_publication_plural)%></h3> <dl> <% @project.publications.each do |publication| %> <dt> <%= print_ieee_format(publication) %> </dt> <dd> <%= link_to("[More Details]", {:controller => :publications, :action => :show, :id => publication.id, :project_id => @project.id}) -%> <%= link_to_function "[B<small>IB</small>T<sub>E</sub>X]", onclick="toggleBibtex(this)" -%> </dd> <dd class="bibtex-textarea collapsed" style="display: none;"> <textarea readonly> <%= print_bibtex_format(publication) %> </textarea> </dd> <% end -%> </dl> </div> </div> <% end -%>