File tree Expand file tree Collapse file tree 2 files changed +24
-4
lines changed Expand file tree Collapse file tree 2 files changed +24
-4
lines changed Original file line number Diff line number Diff line change @@ -189,8 +189,9 @@ function TownHall() {
189
189
190
190
{ townHall . status ? (
191
191
< p >
192
- The { townHall . quarter } Town Hall took place on < b > { townHall . date } </ b > (Week { townHall . week } )
193
- at < b > { townHall . time } PT</ b > in the { townHall . location } .
192
+ The { townHall . quarter } Town Hall took place on{ ' ' }
193
+ < b > { townHall . date } </ b > (Week { townHall . week } ) at{ ' ' }
194
+ < b > { townHall . time } PT</ b > in the { townHall . location } .
194
195
</ p >
195
196
) : (
196
197
< p style = { TBD } > { townHall . status_text } </ p >
@@ -344,7 +345,25 @@ function TownHall() {
344
345
Event Notes
345
346
</ a >
346
347
</ Link >
347
- </ li >
348
+ </ li > { ' ' }
349
+ { pastTownHall . results && (
350
+ < li style = { inlineButtonListStyle } >
351
+ < Link href = { pastTownHall . results } >
352
+ < a
353
+ className = "button"
354
+ target = "_blank"
355
+ rel = "noopener noreferrer"
356
+ >
357
+ < FontAwesomeIcon
358
+ icon = { faFileAlt }
359
+ fixedWidth
360
+ aria-hidden = { true }
361
+ /> { ' ' }
362
+ Survey Results
363
+ </ a >
364
+ </ Link >
365
+ </ li >
366
+ ) }
348
367
</ ul >
349
368
</ div >
350
369
< div >
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ async function fetchTownHallData() {
57
57
}
58
58
59
59
async function fetchPastTownHallData ( ) {
60
- const data = await getGoogleSheetData ( 'PastTownHalls!A3:G ' ) ;
60
+ const data = await getGoogleSheetData ( 'PastTownHalls!A3:H ' ) ;
61
61
62
62
// Format the rows into an array of objects
63
63
const formattedData = data . map ( ( row ) => ( {
@@ -68,6 +68,7 @@ async function fetchPastTownHallData() {
68
68
notes : row [ 4 ] ,
69
69
banner : row [ 5 ] ,
70
70
alt_text : row [ 6 ] ,
71
+ results : row [ 7 ] ,
71
72
} ) ) ;
72
73
73
74
return formattedData ;
You can’t perform that action at this time.
0 commit comments