Project

General

Profile

Actions

Patch #1743

closed

Don't display 'show_diff' button on wiki's history page if there is only 1 version

Added by Chaoqun Zou over 15 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
UI
Target version:
Start date:
2008-08-04
Due date:
% Done:

100%

Estimated time:

Description

On wiki's history page, if there is only 1 version, the radio buttons are hided but the show_diff button is still displayed.

To change this, modify the views\wiki\hisory.rhtml at line 33:

<%= submit_tag l(:label_view_diff), :class => 'small' %>

to:

<%= submit_tag l(:label_view_diff), :class => 'small' if show_diff %>

Actions

Also available in: Atom PDF