mirror of
https://github.com/nfonteyne/octane-website.git
synced 2026-09-03 23:24:48 +02:00
fix: let user add ical
This commit is contained in:
parent
6de6cfacf2
commit
23fc039ac3
6 changed files with 257 additions and 19 deletions
|
|
@ -31,7 +31,6 @@ async function initNav(activePage) {
|
|||
<a href="/setlist.html" class="${activePage === 'setlist' ? 'active' : ''}">Prochain concert</a>
|
||||
<a href="/calendar.html" class="${activePage === 'calendar' ? 'active' : ''}">Disponibilités</a>
|
||||
<a href="/history.html" class="${activePage === 'history' ? 'active' : ''}">Historique</a>
|
||||
${me.isAdmin ? `<a href="/admin.html" class="${activePage === 'admin' ? 'active' : ''}">Administration</a>` : ''}
|
||||
</div>
|
||||
<div class="nav-user">
|
||||
<div class="nav-profile" id="nav-profile">
|
||||
|
|
@ -41,6 +40,7 @@ async function initNav(activePage) {
|
|||
</button>
|
||||
<div class="nav-profile-dropdown" id="nav-profile-dropdown">
|
||||
<a href="/profile.html">Voir profil</a>
|
||||
${me.isAdmin ? '<a href="/admin.html">Administration</a>' : ''}
|
||||
<a href="/auth/logout">Se déconnecter</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue