Skip to content

Commit

Permalink
wip 20
Browse files Browse the repository at this point in the history
  • Loading branch information
QbDesu committed Jan 16, 2025
1 parent d57b894 commit be463fc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/assets/stylesheets/frontend/pages/_list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ body.page-list {
float: right;

&, a {
color: lighten(#333333, 25%);
color: var(--text-muted);
}
}

Expand Down
6 changes: 5 additions & 1 deletion app/views/frontend/shared/_event_metadata.haml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,8 @@
%span.icon.icon-eye
= event.view_count
%li.persons
= render partial: 'frontend/shared/event_persons', locals: { persons: event.persons }
= render partial: 'frontend/shared/event_persons', locals: { persons: event.persons }
- if conference
.conference
%a{href: conference_path(acronym: conference.acronym)}
= conference.title
5 changes: 1 addition & 4 deletions app/views/frontend/shared/_event_with_conference.html.haml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
- cache([event.conference, event], expires_in: 2.hours) do
.event-preview.has-conference
= render partial: 'frontend/shared/event_thumb', locals: { event: event }
= render partial: 'frontend/shared/event_metadata', locals: { event: event }
.conference
%a{href: conference_path(acronym: event.conference.acronym)}
= event.conference.title
= render partial: 'frontend/shared/event_metadata', locals: { event: event, conference: event.conference }

0 comments on commit be463fc

Please sign in to comment.