summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/wiki/history.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/wiki/history.rhtml b/app/views/wiki/history.rhtml
index c78ae115a..7ce78a0f2 100644
--- a/app/views/wiki/history.rhtml
+++ b/app/views/wiki/history.rhtml
@@ -30,6 +30,6 @@
<% end %>
</tbody>
</table>
-<%= submit_tag l(:label_view_diff), :class => 'small' %>
+<%= submit_tag l(:label_view_diff), :class => 'small' if show_diff %>
<span class="pagination"><%= pagination_links_full @version_pages, @version_count, :page_param => :p %></span>
<% end %>