diff options
Diffstat (limited to 'app/views/shared/wikis/show.html.haml')
-rw-r--r-- | app/views/shared/wikis/show.html.haml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/shared/wikis/show.html.haml b/app/views/shared/wikis/show.html.haml index 28699ca27f3..be1f43f44de 100644 --- a/app/views/shared/wikis/show.html.haml +++ b/app/views/shared/wikis/show.html.haml @@ -12,6 +12,8 @@ .nav-controls.pb-md-3.pb-lg-0 = render 'shared/wikis/main_links' + - if Feature.enabled?(:print_wiki, current_user) + #js-export-actions{ data: { options: { target: '.js-wiki-page-content', title: @page.human_title, stylesheet: [stylesheet_path('application')] }.to_json } } - if @page.historical? = render Pajamas::AlertComponent.new(variant: :warning, |