Mercurial > hg > soundsoftware-site
changeset 1353:99e0ed523b17 luisf
Merge.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Fri, 12 Jul 2013 15:27:07 +0100 |
parents | 6e033c113bd4 (current diff) 939f4a491900 (diff) |
children | bef3c810b1e4 8633c9040b3b |
files | |
diffstat | 2 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/redmine_bibliography/app/views/projects/_bibliography_box.html.erb Fri Jul 12 12:56:26 2013 +0100 +++ b/plugins/redmine_bibliography/app/views/projects/_bibliography_box.html.erb Fri Jul 12 15:27:07 2013 +0100 @@ -18,6 +18,12 @@ <%= link_to(l("more_details_link"), {:controller => :publications, :action => :show, :id => publication.id, :project_id => @project.id}) -%> <%= link_to l(:bibtex_link).html_safe, "javascript:void(0)", :class => "bibtex-link"-%> + + <%- unless publication.external_url.blank? -%> + <%= link_to l(:external_url_link), publication.external_url, {:target => "_blank"} -%> + <%- end -%> + + </dd> <dd class="bibtex-textarea collapsed" style="display: none;"> <textarea readonly> <%= print_bibtex_format(publication) -%> </textarea>
--- a/plugins/redmine_bibliography/config/locales/en.yml Fri Jul 12 12:56:26 2013 +0100 +++ b/plugins/redmine_bibliography/config/locales/en.yml Fri Jul 12 15:27:07 2013 +0100 @@ -150,4 +150,5 @@ bibtex_link: "[B<small>IB</small>T<sub>E</sub>X]" more_details_link: "[More Details]" + external_url_link: "[URL (ext.)]"