소스 검색

[core] Do not show help app if it is not allowed

Romain Rigaux 11 년 전
부모
커밋
73c8f27fea
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      desktop/core/src/desktop/templates/common_header.mako

+ 2 - 0
desktop/core/src/desktop/templates/common_header.mako

@@ -279,7 +279,9 @@ from django.utils.translation import ugettext as _
         %endif
       </ul>
     </li>
+    % if 'help' in apps:
     <li><a title="${_('Documentation')}" rel="navigator-tooltip" href="/help"><i class="fa fa-question-circle"></i></a></li>
+    % endif
     <li id="jHueTourFlagPlaceholder"></li>
     <li><a title="${_('Sign out')}" rel="navigator-tooltip" href="/accounts/logout/"><i class="fa fa-sign-out"></i></a></li>
   </ul>