diff options
author | Go MAEDA <maeda@farend.jp> | 2022-09-07 05:47:23 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2022-09-07 05:47:23 +0000 |
commit | 6f22f25ac26c6b6a769ccfe8205daf1c31f1fcdb (patch) | |
tree | 88b6dddf048e9f9cdaf5dc6b5f36b44a7b32a32e /app | |
parent | 78089234211f2776910263ff9f0d3476a44596e7 (diff) | |
download | redmine-6f22f25ac26c6b6a769ccfe8205daf1c31f1fcdb.tar.gz redmine-6f22f25ac26c6b6a769ccfe8205daf1c31f1fcdb.zip |
Don't show "History" tab for content in Filesystem repository (#37585).
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21800 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/repositories/_link_to_functions.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/repositories/_link_to_functions.html.erb b/app/views/repositories/_link_to_functions.html.erb index 9c89561c3..bfdc99cc4 100644 --- a/app/views/repositories/_link_to_functions.html.erb +++ b/app/views/repositories/_link_to_functions.html.erb @@ -8,7 +8,7 @@ tabs << { name: 'entry', label: :button_view, tabs << { name: 'changes', label: :label_history, url: {:action => 'changes', :id => @project, :repository_id => @repository.identifier_param, :path => to_path_param(@path), :rev => @rev } - } + } if @repository.supports_all_revisions? tabs << { name: 'annotate', label: :button_annotate, url: {:action => 'annotate', :id => @project, :repository_id => @repository.identifier_param, :path => to_path_param(@path), :rev => @rev } } if @repository.supports_annotate? |