+
<%= l(:label_publication_other_details) %>
<% f.fields_for :bibtex_entry do |builder| -%>
<%= render :partial => 'bibtex_fields', :locals => { :f => builder} %>
@@ -23,4 +11,14 @@
+
<%= l(:authors) %>
+
+ <% f.fields_for :authorships do |builder| -%>
+ <%= render "authorship_fields", :f => builder %>
+ <%- end -%>
+ <%= link_to_add_fields l(:label_add_an_author), f, :authorships %>
+
+
+
diff -r 712324fee0c0 -r c4ddb9531f4c vendor/plugins/redmine_bibliography/app/views/publications/show.html.erb
--- a/vendor/plugins/redmine_bibliography/app/views/publications/show.html.erb Tue Aug 23 15:47:15 2011 +0100
+++ b/vendor/plugins/redmine_bibliography/app/views/publications/show.html.erb Wed Aug 24 11:53:10 2011 +0100
@@ -2,9 +2,10 @@
-
Title
+
+
<%= h @publication.title %>
+
<%= l(:authors) %>
<%= sortable_element("authorships", :url => { :controller => :publications, :action => :sort_author_order }, :handle => "handle") %>
-
-
<%- if @publication.bibtex_entry != nil -%>
<%= show_bibtex_fields(@publication.bibtex_entry) %>
<%- end -%>
-
+
<%= link_to l(:label_publication_edit), { :controller => "publications", :action => "edit", :id => @publication, :project_id => @project } %> |
<%= link_to "Delete", {:controller => 'publications', :action => 'destroy', :id => @publication, :project_id => @project },
:confirm => l(:text_are_you_sure), :method => :delete, :title => l(:button_delete) %> |
<%= link_to "View All", publications_path %>
-
<% projects = Project.active.find(:all, :limit => 100, :order => 'name ASC') - @publication.projects %>
-
-
-
<%=l(:label_publication_project_index)%>
+<% content_for :sidebar do %>
+
<%=l(:label_publication_project_index)%>
<%= render :partial => 'list_projects' %>
<%= render :partial => 'add_project_form' %>
-
+<% end %>
diff -r 712324fee0c0 -r c4ddb9531f4c vendor/plugins/redmine_bibliography/config/locales/en.yml
--- a/vendor/plugins/redmine_bibliography/config/locales/en.yml Tue Aug 23 15:47:15 2011 +0100
+++ b/vendor/plugins/redmine_bibliography/config/locales/en.yml Wed Aug 24 11:53:10 2011 +0100
@@ -34,8 +34,8 @@
label_add_me_as_author: "Add me as an author"
label_add_an_author: "Add an author"
label_add_another_author: "Add another author"
- field_search_name: "Search author"
- field_search_results: "Authors"
+ field_search_name: "Search by name"
+ field_search_results: ""
label_save_author: "Save Author"
label_author_information: "Author Information"
@@ -51,6 +51,7 @@
label_project_search: "Find project by name: "
label_publication_project_index: "Projects associated with this publication"
label_publication_index: "View all publications"
+ label_publication_other_details: "Details"
text_author_email: "Author's email address as on the paper."
text_author_institution: "Author's institution name as on paper."