# HG changeset patch # User luisf # Date 1307636528 -3600 # Node ID 34a6cf259682b4dc223ce876ae49e5c86928d706 # Parent d643b4186e4c42f062c6266b8b99220cb30a596a added a couple of navigation options in the views. diff -r d643b4186e4c -r 34a6cf259682 vendor/plugins/redmine_bibliography/app/views/publications/edit.html.erb --- a/vendor/plugins/redmine_bibliography/app/views/publications/edit.html.erb Wed Jun 08 17:59:49 2011 +0100 +++ b/vendor/plugins/redmine_bibliography/app/views/publications/edit.html.erb Thu Jun 09 17:22:08 2011 +0100 @@ -3,6 +3,6 @@ <%= render :partial => 'edit' %>

- <%= link_to :show %>

- - + <%= link_to "Show", @publication %> | + <%= link_to "View All", publications_path %> +

diff -r d643b4186e4c -r 34a6cf259682 vendor/plugins/redmine_bibliography/app/views/publications/show.html.erb --- a/vendor/plugins/redmine_bibliography/app/views/publications/show.html.erb Wed Jun 08 17:59:49 2011 +0100 +++ b/vendor/plugins/redmine_bibliography/app/views/publications/show.html.erb Thu Jun 09 17:22:08 2011 +0100 @@ -19,3 +19,11 @@ <%- end -%> + +

+ <%= link_to "Edit", edit_publication_path(@publication) %> | + <%= link_to "Destroy", @publication, :confirm => 'Are you sure?', :method => :delete %> | + <%= link_to "View All", publications_path %> +

+ +