Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Lastly, a new [release](https://github.com/MAKENTNU/web/releases) must be create


## Unreleased
- Made it so when creating an event, the amount of tickets is set to 0 when setting the event to repeating
- https://github.com/MAKENTNU/web/pull/798
Comment on lines +15 to +16
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice to use the same format as the other entries below :)

Also looks like a leading space was missing for the second line. A protip is to check how the markdown code renders by editing any of our .md files directly on GitHub (e.g. the changelog), and pressing the "Preview" tab/button at the top - without committing the changes (unless you want, of course :))

Suggested change
- Made it so when creating an event, the amount of tickets is set to 0 when setting the event to repeating
- https://github.com/MAKENTNU/web/pull/798
- Made it so when creating an event, the amount of tickets is set to 0 when setting the event to repeating
(MAKENTNU/web#798)


### New features

Expand Down
1 change: 1 addition & 0 deletions src/news/static/news/js/event/event_form.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ function updateEventType() {
$("#info-message-tickets").show();
$("#info-message-tickets-repeating").hide();
} else {
$("#id_number_of_tickets").prop("value", 0);
$("#info-message-tickets").hide();
$("#info-message-tickets-repeating").show();
}
Expand Down