From 7247e5ac9917d971b8e0810a2d9fb73313c3baea Mon Sep 17 00:00:00 2001 From: Alexey Verkhovsky Date: Wed, 18 May 2005 02:07:48 +0000 Subject: [PATCH] Gave names to bottom menu hyperlinks (testability) --- app/views/wiki/revision.rhtml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/wiki/revision.rhtml b/app/views/wiki/revision.rhtml index 74650065..16b5f4cc 100644 --- a/app/views/wiki/revision.rhtml +++ b/app/views/wiki/revision.rhtml @@ -28,12 +28,12 @@ <%= link_to('Forward in time', {:web => @web.address, :action => 'revision', :id => @page.name, :rev => @revision.next_revision.number}, - {:class => 'navlink'}) + {:class => 'navlink', :name => 'to_next_revision'}) %> <% else %> <%= link_to('Forward in time', {:web => @web.address, :action => 'show', :id => @page.name}, - {:class => 'navlink'}) + {:class => 'navlink', :name => 'to_next_revision'}) %> <% end %> (<%= @revision.page.revisions.length - @revision.next_revision.number %> more) @@ -47,14 +47,14 @@ <%= link_to('Back in time', {:web => @web.address, :action => 'revision', :id => @page.name, :rev => @revision.previous_revision.number}, - {:class => 'navlink'}) + {:class => 'navlink', :name => 'to_previous_revision'}) %> (<%= @revision.previous_revision.number + 1 %> more) <% end %> | <%= link_to('See current', {:web => @web.address, :action => 'show', :id => @page.name}, - {:class => 'navlink'}) + {:class => 'navlink', :name => 'to_current_revision'}) %> <% if @revision.previous_revision %> @@ -70,7 +70,7 @@ <%= link_to('Rollback', {:web => @web.address, :action => 'rollback', :id => @page.name, :rev => @revision.number}, - {:class => 'navlink'}) + {:class => 'navlink', :name => 'rollback'}) %> <% if @page.references.length > 0 %>