Merge pull request 'fix empty submitter text' (#6) from dev into master
Build / Build-image (push) Successful in 1m11s
Build / Build-image (push) Successful in 1m11s
Reviewed-on: #6
This commit was merged in pull request #6.
This commit is contained in:
@@ -7,7 +7,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
IMAGE_NAME: tladle
|
IMAGE_NAME: tladle
|
||||||
REGISTRY_NAME: gitea.sc0tt.org
|
REGISTRY_NAME: gitea.sc0tt.org
|
||||||
GIT_TAG: 1.3
|
GIT_TAG: 1.3.1
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ class TlaSuggestionResource extends Resource
|
|||||||
EditAction::make(),
|
EditAction::make(),
|
||||||
DeleteAction::make(),
|
DeleteAction::make(),
|
||||||
Action::make('Approve')
|
Action::make('Approve')
|
||||||
->action(fn (TlaSuggestion $record) => $record->ApproveTla($record))
|
->action(fn (TlaSuggestion $record) => TlaSuggestion::ApproveTla($record))
|
||||||
->requiresConfirmation()
|
->requiresConfirmation()
|
||||||
->modalHeading('Approve TLA')
|
->modalHeading('Approve TLA')
|
||||||
->modalDescription('Are you sure you want to approve this TLA?')
|
->modalDescription('Are you sure you want to approve this TLA?')
|
||||||
|
|||||||
@@ -125,7 +125,7 @@
|
|||||||
<h3>Guesses left: {{ maxGuesses - guesses.length }}</h3>
|
<h3>Guesses left: {{ maxGuesses - guesses.length }}</h3>
|
||||||
</UCard>
|
</UCard>
|
||||||
<br>
|
<br>
|
||||||
<template v-if="submitter != ''">
|
<template v-if="submitter != null">
|
||||||
Todays TLA was submitted by <b>{{ submitter }}</b>
|
Todays TLA was submitted by <b>{{ submitter }}</b>
|
||||||
<br><br>
|
<br><br>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -36,6 +36,9 @@ import Modal from '../components/Modal.vue';
|
|||||||
If you wish, you can submit adnother TLA by exiting this alert. <br><br>
|
If you wish, you can submit adnother TLA by exiting this alert. <br><br>
|
||||||
<UButton to="/">Main page</UButton>
|
<UButton to="/">Main page</UButton>
|
||||||
</Modal>
|
</Modal>
|
||||||
|
<Modal v-model:open="missing_fields">
|
||||||
|
<b>Please fill out all required fields (marked with *)</b>
|
||||||
|
</Modal>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -62,6 +65,7 @@ import axios from 'axios';
|
|||||||
language: '',
|
language: '',
|
||||||
submitter: '',
|
submitter: '',
|
||||||
},
|
},
|
||||||
|
missing_fields: false,
|
||||||
submited: false,
|
submited: false,
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user