# HG changeset patch # User luisf # Date 1314202719 -3600 # Node ID 91143e21be2cc3464121a6f35b9380da4383b28f # Parent e2663e0bd5a6d4a0192cfc36fcf80ebf644a38e1# Parent e1eb4996257f6f2e37a244eb1b43750d7d6eb5f5 Merge from 625:e1eb4996257f diff -r e2663e0bd5a6 -r 91143e21be2c vendor/plugins/redmine_bibliography/app/helpers/publications_helper.rb --- a/vendor/plugins/redmine_bibliography/app/helpers/publications_helper.rb Wed Aug 24 17:18:11 2011 +0100 +++ b/vendor/plugins/redmine_bibliography/app/helpers/publications_helper.rb Wed Aug 24 17:18:39 2011 +0100 @@ -81,7 +81,7 @@ confirm_msg = false end - s << link_to_project(proj) + link_to_remote(l(:button_delete), { :url => { :controller => 'publications', :action => 'remove_project', :id => publication, :remove_project_id => proj, :project_id => @project }, :method => :post, :confirm => confirm_msg }, :class => 'icon icon-del') + "
" + s << link_to_project(proj, {}, :class => 'publication_project') + link_to_remote(l(:button_delete), { :url => { :controller => 'publications', :action => 'remove_project', :id => publication, :remove_project_id => proj, :project_id => @project }, :method => :post, :confirm => confirm_msg }, :class => 'icon icon-del') + "
" end s diff -r e2663e0bd5a6 -r 91143e21be2c vendor/plugins/redmine_bibliography/assets/javascripts/authors.js --- a/vendor/plugins/redmine_bibliography/assets/javascripts/authors.js Wed Aug 24 17:18:11 2011 +0100 +++ b/vendor/plugins/redmine_bibliography/assets/javascripts/authors.js Wed Aug 24 17:18:39 2011 +0100 @@ -50,7 +50,7 @@ $('publication_authorships_attributes_' + form_object_id + '_edit_author_info').select('input').each(function(s) { toggle_input_field(s, $this); }); - $$('p.description').each(function(s) { + $('publication_authorships_attributes_' + form_object_id + '_edit_author_info').select('p.description').each(function(s) { s.toggle(); }); toggle_edit_save_button(form_object_id); diff -r e2663e0bd5a6 -r 91143e21be2c vendor/plugins/redmine_bibliography/assets/stylesheets/bibliography.css --- a/vendor/plugins/redmine_bibliography/assets/stylesheets/bibliography.css Wed Aug 24 17:18:11 2011 +0100 +++ b/vendor/plugins/redmine_bibliography/assets/stylesheets/bibliography.css Wed Aug 24 17:18:39 2011 +0100 @@ -24,3 +24,6 @@ font-style: italic; } +.publication_project { + margin-right: 18px; +}