プロジェクト

全般

プロフィール

Vote #63715

完了

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

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
UI_10
対象バージョン:
開始日:
2008/08/04
期日:
進捗率:

100%

予定工数:
category_id:
10
version_id:
2
issue_org_id:
1743
author_id:
460
assigned_to_id:
5
comments:
2
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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 %>


journals

I've applied your patch along with a test in r1749. Thank you for your contribution.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

Admin Redmine さんがほぼ2年前に更新

  • カテゴリUI_10 にセット
  • 対象バージョン0.8_2 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0