Skip to content

Commit

Permalink
apply suggestions and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
DrumsnChocolate committed Oct 2, 2024
1 parent a938734 commit e9b05e1
Show file tree
Hide file tree
Showing 14 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion app/components/photo-albums/photo.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class='d-flex justify-content-center align-items-center'>
{{#if this.showComments}}
{{#if this.showTags}}
<PhotoTags::PhotoTags @model={{@model}}>
<img src={{@model.imageUrl}} class='photo-large' />
</PhotoTags::PhotoTags>
Expand Down
2 changes: 1 addition & 1 deletion app/components/photo-albums/photo.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default class Photo extends Component {
return this.args.showInfo ?? true;
}

get showComments() {
get showTags() {
return this.showInfo && this.abilities.can('show photo-tags');
}

Expand Down
8 changes: 4 additions & 4 deletions app/components/photo-tags/photo-tags.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@
</div>
{{/each}}

{{#if newTagStyle }}
<div class="photo-tag photo-tag--new" style={{ newTagStyle }}>
{{#if this.newTagStyle }}
<div class="photo-tag photo-tag--new" style={{ this.newTagStyle }}>
<PowerSelect
@options={{this.users}}
@onChange={{action 'storeTag'}}
@onChange={{this.storeTag}}
@searchEnabled={{true}}
@searchField='fullName'
@registerAPI={{ action 'openUserSelect' }}
@registerAPI={{this.openUserSelect}}
as |user|
>
{{user.fullName}}
Expand Down
2 changes: 1 addition & 1 deletion app/templates/users/user/edit/index.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<TabbedView @tabItems={{tabItems}}>
<TabbedView @tabItems={{this.tabItems}}>
<Forms::UserForm
@model={{@model}}
@onSubmit={{action 'submit'}}
Expand Down
2 changes: 1 addition & 1 deletion app/templates/users/user/edit/permissions.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<TabbedView @tabItems={{tabItems}}>
<TabbedView @tabItems={{this.tabItems}}>
<form class='form' {{action 'submit' on='submit'}}>
<h5>Permissies</h5>
<Permissions::PermissionsTable
Expand Down
2 changes: 1 addition & 1 deletion app/templates/users/user/edit/privacy.hbs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<TabbedView @tabItems={{tabItems}}>
<TabbedView @tabItems={{this.tabItems}}>
<Users::PrivacySettings @model={{model}} @onSubmit={{action 'submit'}} @onCancel={{action 'cancel'}}/>
</TabbedView>
2 changes: 1 addition & 1 deletion app/templates/users/user/edit/security.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<TabbedView @tabItems={{tabItems}}>
<TabbedView @tabItems={{this.tabItems}}>
<Users::PasswordSettings @model={{model}} />
<br /><hr />
<Users::OtpSettings @model={{model}} />
Expand Down
2 changes: 1 addition & 1 deletion app/templates/users/user/groups.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PageActionsButtons @pageActions={{pageActions}} />
</EmberWormhole>

<TabbedView @tabItems={{tabItems}}>
<TabbedView @tabItems={{this.tabItems}}>
<div class='row tabs-with-filterbar-row'>
<div class='col'>
<ul class='nav nav-tabs d-flex'>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/users/user/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PageActionsButtons @pageActions={{pageActions}} />
</EmberWormhole>

<TabbedView @tabItems={{tabItems}}>
<TabbedView @tabItems={{this.tabItems}}>
<div class='col'>
<div class='card-body'>
<p class='card-text'>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/users/user/mail.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PageActionsButtons @pageActions={{pageActions}} />
</EmberWormhole>

<TabbedView @tabItems={{tabItems}}>
<TabbedView @tabItems={{this.tabItems}}>
<h5>Mail aliassen</h5>
<div class='table-responsive'>
<table class='table'>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/users/user/mandates.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PageActionsButtons @pageActions={{pageActions}} />
</EmberWormhole>

<TabbedView @tabItems={{tabItems}}>
<TabbedView @tabItems={{this.tabItems}}>
<h5>Incasso mandaten</h5>

<table class='table'>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/users/user/permissions.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PageActionsButtons @pageActions={{pageActions}} />
</EmberWormhole>

<TabbedView @tabItems={{tabItems}}>
<TabbedView @tabItems={{this.tabItems}}>
<h5>Persoonlijke rechten</h5>
<div class='table-responsive'>
<Permissions::PermissionsTable
Expand Down
6 changes: 3 additions & 3 deletions app/templates/users/user/photos.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<PageActionsButtons @pageActions={{pageActions}} />
</EmberWormhole>

<TabbedView @tabItems={{tabItems}}>
<TabbedView @tabItems={{this.tabItems}}>
<h5>Foto's</h5>

<div class='row px-3'>
{{#each model.sortedPhotos as |photo|}}
{{#each @model.sortedPhotos as |photo|}}
<div class='col-md-3 col-xs-6 photo-album-image-card'>
<LinkTo
@route='photo-albums.photo-album.photos.photo'
Expand All @@ -18,7 +18,7 @@
{{else}}
<div class='alert alert-warning'>
<LinkTo @route='photo-albums.photo-album.edit' @model={{model.id}}>
Geen foto's gevonden waarin {{ model.fullName }} getagd is.
Geen foto's gevonden waarin {{ @model.fullName }} getagd is.
</LinkTo>
</div>
{{/each}}
Expand Down
2 changes: 1 addition & 1 deletion app/templates/users/user/settings.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PageActionsButtons @pageActions={{pageActions}} />
</EmberWormhole>

<TabbedView @tabItems={{tabItems}}>
<TabbedView @tabItems={{this.tabItems}}>
<p>
Deze informatie is alleen voor jou, het bestuur en de ICT-commissie
beschikbaar
Expand Down

0 comments on commit e9b05e1

Please sign in to comment.