Skip to content

Commit

Permalink
fix index admin external event
Browse files Browse the repository at this point in the history
  • Loading branch information
ElviaBth committed Nov 16, 2023
1 parent 0a3b7eb commit f27fd1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions app/helpers/decidim/calendar/calendar_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ def calendar_event(event)
url: event.link,
resourceId: event.type,
allDay: event.all_day?,
classNames: ["calendar-event-#{event.type}#{event.hour ? "." : " all-day"}"],
# classNames: ["calendar-event-#{event.type}#{event.hour}"],
classNames: ["calendar-event-#{event.type}#{event.hour ? "" : " all-day"}"],
subtitle: (translated_attribute(event.subtitle) unless event.subtitle.empty?)
}.compact
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<thead>
<tr>
<th><%= t("models.external_events.fields.title", scope: "decidim.calendar.admin") %></th>
<th><%= t("models.external_events.fields.e: "decidim.calendar.admin") %></th>
<th><%= t("models.external_events.fields.start_at", scope:"decidim.calendar.admin") %></th>
<th><%= t("models.external_events.fields.end_at", scope: "decidim.calendar.admin") %></th>
<th><%= t("models.external_events.fields.url", scope: "decidim.calendar.admin") %></th>
<th></th>
Expand Down

0 comments on commit f27fd1e

Please sign in to comment.