Skip to content

Commit

Permalink
Add # of people going
Browse files Browse the repository at this point in the history
  • Loading branch information
chtzvt committed Mar 27, 2024
1 parent b922ea3 commit 954a908
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export function toLocalDate(dateStr) {

const dt = new Date(dateStr);
const options = {
weekday: 'long',
weekday: 'short',
month: 'long',
day: 'numeric',
hour: 'numeric',
Expand Down
2 changes: 1 addition & 1 deletion views/pages/events-html.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<div class="bg-white shadow rounded-lg p-6">
<div class="w-11/12" id="{{ this.group }}">
<h2 class="text-2xl mb-1 font-semibold">{{ this.groupName }} - {{ this.data.title }}</h2>
<h3 class="text-lg mb-2 font-bold">{{ to_local_date this.data.dateTime }}</h3>
<h3 class="text-lg mb-2 font-bold">{{ to_local_date this.data.dateTime }} &bull; {{ this.data.going }} RSVPs</h3>
<h4 class="text-xs w-1/3 font-bold">
{{#if this.google_maps_url}}
<a class="text-blue-500 hover:text-blue-700" href="{{ this.google_maps_url }}">{{ this.address }}</a>
Expand Down
2 changes: 1 addition & 1 deletion views/pages/widget-next-event.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<a href="{{ add_utm this.data.eventUrl }}" target="_blank"><img class="h-48 w-full object-cover md:h-full md:w-48" src="{{ this.data.imageUrl }}" alt="{{ this.data.title }}"></a>
</div>
<div class="p-8">
<div class="uppercase tracking-wide text-sm text-blue-500 font-semibold"><a href="{{ add_utm this.data.eventUrl }}" target="_blank">{{ to_local_date this.data.dateTime }}</a></div>
<div class="uppercase tracking-wide text-sm text-blue-500 font-semibold"><a href="{{ add_utm this.data.eventUrl }}" target="_blank">{{ to_local_date this.data.dateTime }} &bull; {{ this.data.going }} Going</a></div>
<a href="{{ add_utm this.data.eventUrl }}" class="block mt-1 text-lg leading-tight font-medium text-black hover:underline" target="_blank">{{ this.groupName }} - {{ this.data.title }}</a>
<p class="mt-2 text-slate-500"><a href="{{ add_utm this.data.eventUrl }}" target="_blank">{{ render_short_description this.data.description }}</a></p>
</div>
Expand Down

0 comments on commit 954a908

Please sign in to comment.