How to hide Download All links for attachments in Confluence

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Data Center - この記事は、Data Center プラットフォームのアトラシアン製品に適用されます。

このナレッジベース記事は製品の Data Center バージョン用に作成されています。Data Center 固有ではない機能の Data Center ナレッジベースは、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。

*Fisheye および Crucible は除く

目的

Confluence generates a Download All link for the Attachments Macro, as well as on the View Attachments screen for Pages and Spaces. If your Confluence instance has many large attachments, this can cause performance issues, and you might want to hide the link to prevent users from downloading all attachments on a page or in a space.

ソリューション

  1. Click, then General Configuration
  2. Click Stylesheet, then the Edit button
  3. Add the following to the Global Stylesheet

    a.download-all-link {
        display: none !important;
    }
    a#download-all-link {
        display: none !important;
    }
  4. 保存します。

You can alternatively just disable Download All on a space by space basis by adding the above CSS to individual Space Stylesheets instead:

  1. Go to the space and choose Space Tools > Look and Feel from the bottom of the sidebar
  2. Choose Stylesheet then Edit.
  3. Paste the above CSS into the text field.
  4. 保存します。

最終更新日: 2024 年 12 月 31 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.