- Timestamp:
- 06/14/2026 04:49:24 PM (3 months ago)
- Branches:
- main
- Children:
- 6150acb
- Parents:
- a64f642
- Location:
- src/views
- Files:
-
- 2 edited
-
pages/hub-home.ejs (modified) (1 diff)
-
partials/profile-header.ejs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/hub-home.ejs
ra64f642 rab544fd 38 38 <% artists.forEach(function(a){ %> 39 39 <a class="roster-card" href="/user/<%= a.slug %>"> 40 <span class="roster-avatar"<% if (a.profile_photo) { %> style="background-image:url('<%= a.profile_photo %>')"<% } else { %> style="background:<%= a.accent || 'var(--accent)' %>;color:#fff"<% } %>> 41 <% if (!a.profile_photo) { %><%= (a.title || a.slug).charAt(0).toUpperCase() %><% } %> 40 <% var _ava = a.profile_photo || a.owner_avatar; %> 41 <span class="roster-avatar"<% if (_ava) { %> style="background-image:url('<%= _ava %>')"<% } else { %> style="background:<%= a.accent || 'var(--accent)' %>;color:#fff"<% } %>> 42 <% if (!_ava) { %><%= (a.title || a.slug).charAt(0).toUpperCase() %><% } %> 42 43 </span> 43 44 <span class="roster-name"><%= a.title %></span> -
src/views/partials/profile-header.ejs
ra64f642 rab544fd 37 37 hx-push-url="<%= (typeof siteUrlBase !== 'undefined' && siteUrlBase) ? siteUrlBase : '' %>/" 38 38 hx-indicator="#pcms-loading" aria-label="Home"> 39 <% if (typeof user !== 'undefined' && user && user.avatar_url) { %> 40 <img src="<%= user.avatar_url %>" alt=""> 41 <% } else if (site.profile_photo) { %> 39 <% if (site.profile_photo) { %> 42 40 <img src="<%= site.profile_photo %>" alt=""> 41 <% } else if (typeof siteOwnerAvatar !== 'undefined' && siteOwnerAvatar) { %> 42 <img src="<%= siteOwnerAvatar %>" alt=""> 43 43 <% } else if (site.enable_audio_player) { %> 44 44 <span class="profile-photo-fallback profile-photo-fallback--music" aria-hidden="true">
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)