<% 
  const label = typeof buttonLabel !== 'undefined' && buttonLabel ? buttonLabel : '관리자';
%>
<% if (typeof adminMode !== 'undefined' && adminMode) { %>
<a href="/admin" class="top-action-link"><%= label %></a>
<% } else { %>
<button type="button" class="top-action-link" onclick="openAdminTokenModal()"><%= label %></button>
<% } %>
