move edit button higher
This commit is contained in:
@@ -62,6 +62,19 @@
|
|||||||
class="workshop-registration workshop-registration-message">
|
class="workshop-registration workshop-registration-message">
|
||||||
{{ event.registration_data }}
|
{{ event.registration_data }}
|
||||||
</div>
|
</div>
|
||||||
|
<div
|
||||||
|
v-if="userHasPermission('admin/events') && event.id"
|
||||||
|
class="workshop-edit">
|
||||||
|
<SMButton
|
||||||
|
block
|
||||||
|
size="medium"
|
||||||
|
type="primary"
|
||||||
|
:to="{
|
||||||
|
name: 'dashboard-event-edit',
|
||||||
|
params: { id: event.id },
|
||||||
|
}"
|
||||||
|
label="Edit Event" />
|
||||||
|
</div>
|
||||||
<div class="workshop-date">
|
<div class="workshop-date">
|
||||||
<h4>
|
<h4>
|
||||||
<ion-icon
|
<ion-icon
|
||||||
@@ -100,15 +113,6 @@
|
|||||||
<div v-if="event.price" class="workshop-price">
|
<div v-if="event.price" class="workshop-price">
|
||||||
<h4><span class="icon">$</span>{{ computedPrice }}</h4>
|
<h4><span class="icon">$</span>{{ computedPrice }}</h4>
|
||||||
</div>
|
</div>
|
||||||
<SMButton
|
|
||||||
v-if="userHasPermission('admin/events') && event.id"
|
|
||||||
size="medium"
|
|
||||||
type="primary"
|
|
||||||
:to="{
|
|
||||||
name: 'dashboard-event-edit',
|
|
||||||
params: { id: event.id },
|
|
||||||
}"
|
|
||||||
label="Edit Event" />
|
|
||||||
</div>
|
</div>
|
||||||
</SMContainer>
|
</SMContainer>
|
||||||
</SMContainer>
|
</SMContainer>
|
||||||
|
|||||||
Reference in New Issue
Block a user