diff --git a/app/views/artist_versions/index.html.erb b/app/views/artist_versions/index.html.erb
index 6d092e284..c2e8aee25 100644
--- a/app/views/artist_versions/index.html.erb
+++ b/app/views/artist_versions/index.html.erb
@@ -38,7 +38,7 @@
<% if CurrentUser.is_member? %>
- <%= link_to "Revert", revert_artist_path(artist_version.artist_id, :version_id => artist_version.id), :method => :put, :confirm => "Are you sure you want to revert this artist?" %>
+ <%= link_to "Revert to", revert_artist_path(artist_version.artist_id, :version_id => artist_version.id), :method => :put, :confirm => "Are you sure you want to revert to this version?" %>
|
<% end %>
diff --git a/app/views/note_versions/index.html.erb b/app/views/note_versions/index.html.erb
index b21035602..dc20624c1 100644
--- a/app/views/note_versions/index.html.erb
+++ b/app/views/note_versions/index.html.erb
@@ -15,7 +15,7 @@
Edited By |
Date |
<% if CurrentUser.is_member? %>
- |
+ |
<% end %>
@@ -35,7 +35,7 @@
<%= compact_time note_version.updated_at %> |
<% if CurrentUser.is_member? %>
- <%= link_to "Revert", revert_note_path(note_version.note_id, :version_id => note_version.id), :remote => true, :method => :put, :confirm => "Do you really want to revert to this version?" %>
+ <%= link_to "Revert to", revert_note_path(note_version.note_id, :version_id => note_version.id), :remote => true, :method => :put, :confirm => "Are you sure you want to revert to this version?" %>
|
<% end %>
diff --git a/app/views/pool_versions/index.html.erb b/app/views/pool_versions/index.html.erb
index 4fb00410b..06230e305 100644
--- a/app/views/pool_versions/index.html.erb
+++ b/app/views/pool_versions/index.html.erb
@@ -33,7 +33,7 @@
<%= compact_time pool_version.updated_at %> |
<% if CurrentUser.is_member? %>
- <%= link_to "Revert", revert_pool_path(pool_version.pool_id, :version_id => pool_version.id), :method => :put, :remote => true %>
+ <%= link_to "Revert to", revert_pool_path(pool_version.pool_id, :version_id => pool_version.id), :method => :put, :remote => true %>
|
<% end %>
diff --git a/app/views/post_versions/_listing.html.erb b/app/views/post_versions/_listing.html.erb
index 2d10e98e8..e716a6626 100644
--- a/app/views/post_versions/_listing.html.erb
+++ b/app/views/post_versions/_listing.html.erb
@@ -12,7 +12,7 @@
<% end %>
Tags |
<% if CurrentUser.is_member? %>
- |
+ |
<% end %>
@@ -36,7 +36,7 @@
<%= post_version_diff(post_version) %> |
<% if CurrentUser.is_member? %>
- <%= link_to "Revert", revert_post_path(post_version.post_id, :version_id => post_version.id), :method => :put, :remote => true %>
+ <%= link_to "Revert to", revert_post_path(post_version.post_id, :version_id => post_version.id), :method => :put, :remote => true %>
|
<% end %>
diff --git a/app/views/wiki_page_versions/show.html.erb b/app/views/wiki_page_versions/show.html.erb
index 1192f0774..b8fdb58be 100644
--- a/app/views/wiki_page_versions/show.html.erb
+++ b/app/views/wiki_page_versions/show.html.erb
@@ -8,10 +8,6 @@
<%= format_text(@wiki_page_version.body) %>
-
- <% if CurrentUser.is_member? %>
- <%= link_to "Revert to this version", revert_wiki_page_path(@wiki_page_version.wiki_page_id, :version_id => @wiki_page_version.id), :method => :put %>
- <% end %>
diff --git a/app/views/wiki_pages/_secondary_links.html.erb b/app/views/wiki_pages/_secondary_links.html.erb
index de791d74c..a71429138 100644
--- a/app/views/wiki_pages/_secondary_links.html.erb
+++ b/app/views/wiki_pages/_secondary_links.html.erb
@@ -26,6 +26,9 @@
<% if @wiki_page_version %>
|
<%= link_to "Newest", wiki_page_path(@wiki_page_version.wiki_page_id) %>
+ <% if CurrentUser.is_member? %>
+ <%= link_to "Revert to", revert_wiki_page_path(@wiki_page_version.wiki_page_id, :version_id => @wiki_page_version.id), :method => :put, :confirm => "Are you sure you want to revert to this version?" %>
+ <% end %>
<% end %>
<% end %>