Skip to content

Commit

Permalink
feat: purchase link to jkl theme
Browse files Browse the repository at this point in the history
  • Loading branch information
vesameskanen committed Jan 31, 2024
1 parent ea22c48 commit 2ab36f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/configurations/config.jyvaskyla.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@ export default configMerger(walttiConfig, {
ticketLink: 'https://linkki.jyvaskyla.fi/liput-ja-hinnat',
showTicketPrice: true,

ticketPurchaseLink: function purchaseTicketLink(ticket) {
return `https://linkki.jyvaskyla.fi/liput-ja-hinnat?ticket=${ticket}`;
},

// mapping fareId from OTP fare identifiers to human readable form
fareMapping: function mapFareId(fareId) {
return fareId && fareId.substring
Expand Down

0 comments on commit 2ab36f3

Please sign in to comment.