- Timestamp:
- 06/23/2026 02:54:36 PM (3 months ago)
- Branches:
- main
- Children:
- 9b851e7
- Parents:
- 8f2f97c
- Location:
- src/views
- Files:
-
- 3 edited
-
pages/admin-site-edit.ejs (modified) (1 diff)
-
pages/admin.ejs (modified) (2 diffs)
-
partials/profile-header.ejs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/admin-site-edit.ejs
r8f2f97c rcb01666 159 159 </select> 160 160 </label> 161 <% if (typeof audioEnabled === 'undefined' || audioEnabled) { %> 161 162 <label class="cb"> 162 163 <input type="checkbox" name="enable_audio_player" value="1" <%= site.enable_audio_player ? 'checked' : '' %>> 163 164 <span><%= t('asite.enable_audio') %></span> 164 165 </label> 166 <% } %> 165 167 </fieldset> 166 168 -
src/views/pages/admin.ejs
r8f2f97c rcb01666 11 11 <a href="/admin/sites" class="btn"><%= t('admin.b_sites') %></a> 12 12 <a href="/admin/users" class="btn"><%= t('admin.b_users') %></a> 13 <% if (typeof audioEnabled === 'undefined' || audioEnabled) { %> 13 14 <a href="/admin/audio" class="btn"><%= t('admin.b_audio') %></a> 14 15 <a href="/admin/playlists" class="btn"><%= t('admin.b_playlists') %></a> 16 <% } %> 15 17 <a href="/admin/comments" class="btn"><%= t('admin.b_comments') %></a> 16 18 <% if (primarySite) { %><a href="/admin/seo" class="btn"><%= t('admin.b_seo') %></a><% } %> … … 18 20 <% } else { %> 19 21 <a href="/posts/new" class="btn"><%= t('admin.b_newpost') %></a> 22 <% if (typeof audioEnabled === 'undefined' || audioEnabled) { %> 20 23 <a href="/admin/audio" class="btn"><%= t('admin.b_audio') %></a> 24 <% } %> 21 25 <a href="/admin/comments" class="btn"><%= t('admin.b_comments') %></a> 22 26 <% if (primarySite) { %> -
src/views/partials/profile-header.ejs
r8f2f97c rcb01666 41 41 <% } else if (typeof siteOwnerAvatar !== 'undefined' && siteOwnerAvatar) { %> 42 42 <img src="<%= siteOwnerAvatar %>" alt=""> 43 <% } else if (site.enable_audio_player ) { %>43 <% } else if (site.enable_audio_player && (typeof audioEnabled === 'undefined' || audioEnabled)) { %> 44 44 <span class="profile-photo-fallback profile-photo-fallback--music" aria-hidden="true"> 45 45 <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)