diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2008-08-20 05:09:13 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2008-08-20 05:09:13 +0000 |
commit | af6b01f55d96ccf9560251707a2136050b0a6648 (patch) | |
tree | 3f22f6860f7e764d27a85ca7653aa2655cc5bba9 /app | |
parent | a899904f6340c337b0e3ac6309731b8bcf95fd56 (diff) | |
download | redmine-af6b01f55d96ccf9560251707a2136050b0a6648.tar.gz redmine-af6b01f55d96ccf9560251707a2136050b0a6648.zip |
Hiding the View Differences button when a wiki page's history only has one version.
Patch contributed by Chaoqun Zou (#1743)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1749 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/wiki/history.rhtml | 2 |
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 %> |