Skip to content

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebacker committed Jul 15, 2023
1 parent 050a89f commit 73c0e3d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
5 changes: 4 additions & 1 deletion resources/views/admin/_form-registration.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<div class="header">
@include('core::admin._button-back', ['module' => 'registrations', 'url' => route('admin::index-registrations', $event->id)])
@include('core::admin._button-back', [
'module' => 'registrations',
'url' => route('admin::index-registrations', $event->id),
])
<h1 class="header-title @if (!$model->present()->title) text-muted @endif">
{{ $model->present()->title ?: __('Untitled') }}
</h1>
Expand Down
3 changes: 1 addition & 2 deletions resources/views/admin/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
@section('title', __('Events'))

@section('content')
<item-list url-base="/api/events" fields="id,image_id,start_date,end_date,status,title" table="events" title="events" include="image" :exportable="true" :searchable="['title']"
:sorting="['-end_date']">
<item-list url-base="/api/events" fields="id,image_id,start_date,end_date,status,title" table="events" title="events" include="image" :exportable="true" :searchable="['title']" :sorting="['-end_date']">
<template slot="add-button" v-if="$can('create events')">
@include('core::admin._button-create', ['module' => 'events'])
</template>
Expand Down
4 changes: 1 addition & 3 deletions resources/views/admin/registrations.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
@section('title', 'Registrations > ' . $event->title)

@section('content')
<item-list url-base="/api/events/{{ $event->id }}/registrations" fields="id,event_id,created_at,first_name,last_name,email,locale,number_of_people,message" table="registrations"
title="registrations" :show-title="false" :exportable="true" :publishable="false" :multilingual="false"
:searchable="['created_at,first_name,last_name,email,locale,number_of_people,message']" :sorting="['-created_at']">
<item-list url-base="/api/events/{{ $event->id }}/registrations" fields="id,event_id,created_at,first_name,last_name,email,locale,number_of_people,message" table="registrations" title="registrations" :show-title="false" :exportable="true" :publishable="false" :multilingual="false" :searchable="['created_at,first_name,last_name,email,locale,number_of_people,message']" :sorting="['-created_at']">
<template slot="back-button">
@include('core::admin._button-back', ['url' => $event->indexUrl(), 'title' => __('Events')])
</template>
Expand Down

0 comments on commit 73c0e3d

Please sign in to comment.