feat(learning): 학습센터 상단에 학습 등록 버튼, OPS 로그인 시에도 표시
- 라벨을 학습 등록으로 통일, adminMode만으로 표시 Made-with: Cursor
This commit is contained in:
@@ -21,14 +21,13 @@
|
||||
<% var hDesc = typeof heroDesc !== 'undefined' ? heroDesc : '유튜브·PPT·동영상 파일·웹 링크를 등록한 뒤, 목록에서 클릭하여 강의를 시청하거나 외부 자료를 열 수 있습니다.'; %>
|
||||
<% var listHeading = typeof sectionListHeading !== 'undefined' ? sectionListHeading : '등록된 강의'; %>
|
||||
<% var filterTitle = typeof filterPanelTitle !== 'undefined' ? filterPanelTitle : '강의 검색/필터'; %>
|
||||
<% var _opsLoggedIn = typeof opsUserEmail !== 'undefined' && opsUserEmail; %>
|
||||
<div class="app-shell">
|
||||
<%- include('partials/nav', { activeMenu: navMenu }) %>
|
||||
<div class="content-area">
|
||||
<header class="topbar">
|
||||
<h1><%= pTitle %></h1>
|
||||
<% if (typeof adminMode !== 'undefined' && adminMode && !_opsLoggedIn) { %>
|
||||
<a href="<%= adminRegisterHref %>" class="top-action-link">콘텐츠 등록하기</a>
|
||||
<% if (typeof adminMode !== 'undefined' && adminMode) { %>
|
||||
<a href="<%= adminRegisterHref %>" class="top-action-link">학습 등록</a>
|
||||
<% } %>
|
||||
</header>
|
||||
<main class="container">
|
||||
|
||||
Reference in New Issue
Block a user