changeset 452:34a6cf259682 feature_36

added a couple of navigation options in the views.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Thu, 09 Jun 2011 17:22:08 +0100
parents d643b4186e4c
children 2daa350e1da2
files vendor/plugins/redmine_bibliography/app/views/publications/edit.html.erb vendor/plugins/redmine_bibliography/app/views/publications/show.html.erb
diffstat 2 files changed, 11 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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' %>
 
 <p>
-  <%= link_to :show %></p>
-
-
+  <%= link_to "Show", @publication %> |
+  <%= link_to "View All", publications_path %>
+</p>
--- 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 -%>
 
 
+
+<p>
+  <%= link_to "Edit", edit_publication_path(@publication) %> |
+  <%= link_to "Destroy", @publication, :confirm => 'Are you sure?', :method => :delete %> |
+  <%= link_to "View All", publications_path %>
+</p>
+
+