Mercurial > hg > soundsoftware-site
diff vendor/plugins/redmine_bibliography/app/helpers/publications_helper.rb @ 1051:ef882e222003 bibplugin_bibtex
Changing the way the bibtex is parsed: uses link_to_remote instead of remote_form_for; using RJS; created tab helper (still not implemented correctly in terms of views
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Fri, 16 Nov 2012 19:05:01 +0000 |
parents | 8cfa9b743559 |
children | 3d387b121e85 |
line wrap: on
line diff
--- a/vendor/plugins/redmine_bibliography/app/helpers/publications_helper.rb Tue Nov 13 18:12:46 2012 +0000 +++ b/vendor/plugins/redmine_bibliography/app/helpers/publications_helper.rb Fri Nov 16 19:05:01 2012 +0000 @@ -5,9 +5,10 @@ include AuthorshipsHelper def create_publication_tabs - tabs = [{:name => 'default', :partial => 'publications/new/default', :label => :label_default}, - {:name => 'bibtex', :partial => 'publications/new/bibtex', :label => :label_bibtex}, - ] + tabs = [ + {:name => 'bibtex', :partial => 'publications/new/bibtex', :label => :label_bibtex}, + {:name => 'default', :partial => 'publications/new/default', :label => :label_default} + ] end def link_to_publication(publication, options={}, html_options = nil)