Date Fixes, Translations, Misc Bugs (#840)
* Translated using Weblate (Spanish) Currently translated at 100.0% (956 of 956 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/es/ * Added translation using Weblate (English (United States)) * Translated using Weblate (Norwegian Bokmål) Currently translated at 100.0% (956 of 956 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/nb_NO/ * Remove empty English (United States) locale file * Translated using Weblate (Spanish) Currently translated at 100.0% (956 of 956 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/es/ * [BUG]Ordered Itinerary includes visits that are outside itinerary date range Fixes #746 * [BUG] Server Error (500) when trying to access the API docs Fixes #712 * [BUG] Single day Collections will think location visits are out of date range Fixes #827 * Fixes #654 * Translated using Weblate (Spanish) Currently translated at 100.0% (956 of 956 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/es/ * Added Slovak translations (#815) * Created sk.json * Update Navbar.svelte * Update +layout.svelte --------- Co-authored-by: Sean Morley <98704938+seanmorley15@users.noreply.github.com> * Implement code changes to enhance functionality and improve performance --------- Co-authored-by: Nikolai Eidsheim <nikolai.eidsheim@gmail.com> Co-authored-by: Sergio <garcia.sergio@me.com> Co-authored-by: fantastron27 <fantastron27@gmail.com>
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
import ArrowLeftIcon from '~icons/mdi/arrow-left';
|
||||
import RunFastIcon from '~icons/mdi/run-fast';
|
||||
import LoadingIcon from '~icons/mdi/loading';
|
||||
import InfoIcon from '~icons/mdi/information';
|
||||
import UploadIcon from '~icons/mdi/upload';
|
||||
import FileIcon from '~icons/mdi/file';
|
||||
import CloseIcon from '~icons/mdi/close';
|
||||
@@ -1535,6 +1536,17 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- if localStartDate and localEndDate are set, show a callout saying its not saved yet -->
|
||||
{#if localStartDate || localEndDate}
|
||||
<div class="alert alert-neutral">
|
||||
<InfoIcon class="w-5 h-5" />
|
||||
<div>
|
||||
<div class="font-medium text-sm">{$t('adventures.dates_not_saved')}</div>
|
||||
<div class="text-xs opacity-75">{$t('adventures.dates_not_saved_description')}</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="flex gap-3 justify-end pt-4">
|
||||
<button class="btn btn-neutral-200 gap-2" on:click={handleBack}>
|
||||
<ArrowLeftIcon class="w-5 h-5" />
|
||||
|
||||
Reference in New Issue
Block a user