공지 메시지나 Site-Banner 등 모든 페이지마다 보여야 하는 내용이 있다면 Confluence 의 관리 메뉴에 있는 Custom HTML을 이용하면 된다.

전체 공지 띄우기

설정

  1. Confluence 관리자로 로그인한다.
  2. 메뉴중 Confluence Admin 을 선택해서 관리 콘솔로 들어간다.
  3. Look And Feel -> Custom HTML 을 선택한다.
  4. 상단에 표시하려면 At end of the HEAD 에 공지할 내용을 HTML 로 작성후 저장을 누른다.
  5. 하단에 표시할 경우 At end of the BODY 항목에 내용을 작성한다.

Custom HTML 예제

bootstrap alert

bootstrap 사용 예제

<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet">
<div class="alert alert-danger alert-dismissable text-center">
   <button type="button" class="close" data-dismiss="alert" aria-hidden="true">
       &times;
   </button>
<h5>
	upgrade때문에 오후 6시 10분부터 약 10분간 confluence 가 중단됩니다.
</h5>
</div>
XML

 

관리자 이메일 링크

<!-- Message Banner -->
<div style="background-color: yellow; border: 2px solid red; margin: 4px; padding: 2px; font-weight: bold; font-size:100%;text-align: center;">
변경 작업때문에 Confluence가 중단됩니다. 로그인이 안 되시는 분은 <a href=mailto:myemailid@example.com> 관리자</a> 에게 알려주십시요.
</div>
XML

 

Space banner 

confluence 6 부터 추가된 기능.

개별 스페이스마다 배너 메시지를 띄우는 방법(https://confluence.atlassian.com/confkb/how-to-add-a-space-wide-banner-717062877.html#)


See Also

Ref