Skip to content

Commit

Permalink
more occurrences, and a small styling fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DrumsnChocolate committed Nov 9, 2024
1 parent f32e3c5 commit cbb8a35
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/components/public/index/activities.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
{{#if modalIsOpen}}
<EmberWormhole @to='ember-wormhole-destination'>
<div class='public-index-activity-modal modal d-block'>
<div class='activity-modal-backdrop' {{action 'closeModal'}}></div>
<div class='activity-modal-backdrop' {{on 'click' closeModal}}></div>
<div class='activity-modal-content-wrapper modal-dialog' role='document'>
<div class='modal-content'>
<div class='modal-body'>
Expand Down
2 changes: 1 addition & 1 deletion app/components/public/index/youtube-videos.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div
class='public-index-videos__video'
title='{{video.title}}'
{{action 'changeVideo' video}}
{{on 'click' (fn changeVideo video)}}
>
<img
src='https://img.youtube.com/vi/{{video.videoId}}/maxresdefault.jpg'
Expand Down
8 changes: 4 additions & 4 deletions app/templates/activities/activity/print-enrolled.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,19 @@
<br />
<ul
class='list-group'
{{sortable-group onChange=(action 'reorderItems')}}
{{sortable-group onChange=reorderItems}}
>
{{#each this.options as |option index|}}
<li class='list-group-item' {{sortable-item model=option}}>
<div class='row'>
<span class='col'>{{option}}</span>
<a
class='ps-2 link-highlight text-danger'
{{action 'removeOption' index}}
class='col ps-2 link-highlight text-danger'
{{on 'click' (fn removeOption index)}}
>
Verwijderen
</a>
<span class='px-3' {{sortable-handle}}>
<span class='col px-3' {{sortable-handle}}>
<FaIcon @icon='sort' class='handle text-muted' />
</span>
</div>
Expand Down

0 comments on commit cbb8a35

Please sign in to comment.