How to hide the 'Delete' button in the Page History section
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。
*Fisheye および Crucible は除く
このページの内容は、Confluence でのカスタマイズや開発の変更に関連しています。したがって、アトラシアン サポートは、このページに記載されている手順に対するサポートの提供を保証できません。この資料は情報提供のみを目的としているため、お客様自身の責任でご使用ください。
目的
This article will hide the "Delete" button in the Page History section:
ソリューション
Hide the element using CSS.
- In the space where you want to hide that option go to Space Tools > Look and Feel.
- Select the Stylesheet tab.
- Add the following CSS code to your Space Stylesheet:
.remove-historical-version-trigger {
display: none;
}
This should hide the delete link in the history page for that space.
If changes should be applied to all spaces, add the CSS code above in Confluence Admin >> Stylesheet (Global Stylesheet)