Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a79ce3706f | ||
|
|
0a605fce7c |
@@ -7,7 +7,7 @@ jobs:
|
||||
env:
|
||||
IMAGE_NAME: tladle
|
||||
REGISTRY_NAME: gitea.sc0tt.org
|
||||
GIT_TAG: 1.3
|
||||
GIT_TAG: 1.3.1
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
||||
@@ -75,7 +75,7 @@ class TlaSuggestionResource extends Resource
|
||||
EditAction::make(),
|
||||
DeleteAction::make(),
|
||||
Action::make('Approve')
|
||||
->action(fn (TlaSuggestion $record) => $record->ApproveTla($record))
|
||||
->action(fn (TlaSuggestion $record) => TlaSuggestion::ApproveTla($record))
|
||||
->requiresConfirmation()
|
||||
->modalHeading('Approve TLA')
|
||||
->modalDescription('Are you sure you want to approve this TLA?')
|
||||
|
||||
@@ -125,7 +125,7 @@
|
||||
<h3>Guesses left: {{ maxGuesses - guesses.length }}</h3>
|
||||
</UCard>
|
||||
<br>
|
||||
<template v-if="submitter != ''">
|
||||
<template v-if="submitter != null">
|
||||
Todays TLA was submitted by <b>{{ submitter }}</b>
|
||||
<br><br>
|
||||
</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>
|
||||
<UButton to="/">Main page</UButton>
|
||||
</Modal>
|
||||
<Modal v-model:open="missing_fields">
|
||||
<b>Please fill out all required fields (marked with *)</b>
|
||||
</Modal>
|
||||
|
||||
</template>
|
||||
|
||||
@@ -62,6 +65,7 @@ import axios from 'axios';
|
||||
language: '',
|
||||
submitter: '',
|
||||
},
|
||||
missing_fields: false,
|
||||
submited: false,
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user