Skip to content

Commit

Permalink
include talk slug in html for easing css customizations
Browse files Browse the repository at this point in the history
  • Loading branch information
sirikon committed Jun 14, 2024
1 parent d96e426 commit 0b135b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/server/resources/themes/default/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div class="x-talk-list">

<% for(const talk of it.talks) { %>
<a class="x-talk-list-item<%= talk.rated != null ? ' is-rated' : '' %>" href="/talk/<%= talk.slug %>">
<a class="x-talk-list-item<%= talk.rated != null ? ' is-rated' : '' %>" href="/talk/<%= talk.slug %>" data-talk-slug="<%= talk.slug %>">
<div class="x-talk-list-item-arrow">
<%~ includeFile('./icons/chevron-right.svg') %>
</div>
Expand Down
2 changes: 1 addition & 1 deletion modules/server/resources/themes/default/talk.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</p>
<% } %>

<div class="x-talk">
<div class="x-talk" data-talk-slug="<%= it.talk.slug %>">

<% if (it.questionSent) { %>
<div class="x-talk-notification">
Expand Down

0 comments on commit 0b135b6

Please sign in to comment.