diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-04-18 11:14:00 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-04-18 11:14:00 +0000 |
commit | d2b3ed17bbf79242e7f2478b954b9cba7a3768c8 (patch) | |
tree | f09f830876efa03763d971aa1b3ebdbd1b8bfba8 /app/views/projects | |
parent | 423d98d796dc21b44c890b7048763333b79a9a90 (diff) | |
parent | ffca1cc2ea0f3aeaee5c7aa3afa883489a15af12 (diff) | |
download | gitlab-ce-d2b3ed17bbf79242e7f2478b954b9cba7a3768c8.tar.gz |
Merge branch '29816-create-keyboard-shortcut-for-editing-wiki-page' into 'master'
Add keyboard edit shortcut for wiki
Closes #29816
See merge request !10245
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/wikis/_main_links.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/wikis/_main_links.html.haml b/app/views/projects/wikis/_main_links.html.haml index 86178257af8..6a578dbf640 100644 --- a/app/views/projects/wikis/_main_links.html.haml +++ b/app/views/projects/wikis/_main_links.html.haml @@ -5,5 +5,5 @@ = link_to namespace_project_wiki_history_path(@project.namespace, @project, @page), class: "btn" do Page history - if can?(current_user, :create_wiki, @project) && @page.latest? - = link_to namespace_project_wiki_edit_path(@project.namespace, @project, @page), class: "btn" do + = link_to namespace_project_wiki_edit_path(@project.namespace, @project, @page), class: "btn js-wiki-edit" do Edit |