This commit is contained in:
Benjamin Takats
2023-01-15 18:09:21 +01:00
parent c3072d328e
commit 23fec8c70b
15 changed files with 164 additions and 17 deletions

View File

@@ -639,5 +639,7 @@
"This lecturer has not yet written an introduction.": "Dieser Dozent hat noch keine Einführung geschrieben.",
"If your city is not listed, please create it first.": "Wenn deine Stadt nicht aufgeführt ist, erstelle sie bitte zuerst.",
"You get a point when you log in.": "Du bekommst einen Punkt, wenn du dich einloggst.",
"has": "hat"
}
"has": "hat",
"logins": "",
"points": ""
}

View File

@@ -631,5 +631,7 @@
"This lecturer has not yet written an introduction.": "",
"If your city is not listed, please create it first.": "",
"You get a point when you log in.": "",
"has": ""
}
"has": "",
"logins": "",
"points": ""
}

View File

@@ -622,5 +622,17 @@
"Back": "",
"By lecturer": "",
"All courses of this lecturer": "",
"Here you can see all events of this lecturer.": ""
"Here you can see all events of this lecturer.": "",
"This lecturer has not yet written an introduction.": "",
"Subtitle": "",
"This is the subtitle on the landing page.": "",
"Intro": "",
"This is the introduction text that is shown on the landing page.": "",
"If your city is not listed, please create it first.": "",
"has": "",
"logins": "",
"You get a point when you log in.": "",
"points": "",
"All courses of :name": "",
"Here you can see all events of :name.": ""
}

View File

@@ -622,5 +622,17 @@
"Back": "",
"By lecturer": "",
"All courses of this lecturer": "",
"Here you can see all events of this lecturer.": ""
"Here you can see all events of this lecturer.": "",
"This lecturer has not yet written an introduction.": "",
"Subtitle": "",
"This is the subtitle on the landing page.": "",
"Intro": "",
"This is the introduction text that is shown on the landing page.": "",
"If your city is not listed, please create it first.": "",
"has": "",
"logins": "",
"You get a point when you log in.": "",
"points": "",
"All courses of :name": "",
"Here you can see all events of :name.": ""
}

View File

@@ -622,5 +622,17 @@
"Back": "",
"By lecturer": "",
"All courses of this lecturer": "",
"Here you can see all events of this lecturer.": ""
"Here you can see all events of this lecturer.": "",
"This lecturer has not yet written an introduction.": "",
"Subtitle": "",
"This is the subtitle on the landing page.": "",
"Intro": "",
"This is the introduction text that is shown on the landing page.": "",
"If your city is not listed, please create it first.": "",
"has": "",
"logins": "",
"You get a point when you log in.": "",
"points": "",
"All courses of :name": "",
"Here you can see all events of :name.": ""
}

View File

@@ -622,5 +622,17 @@
"Back": "",
"By lecturer": "",
"All courses of this lecturer": "",
"Here you can see all events of this lecturer.": ""
"Here you can see all events of this lecturer.": "",
"This lecturer has not yet written an introduction.": "",
"Subtitle": "",
"This is the subtitle on the landing page.": "",
"Intro": "",
"This is the introduction text that is shown on the landing page.": "",
"If your city is not listed, please create it first.": "",
"has": "",
"logins": "",
"You get a point when you log in.": "",
"points": "",
"All courses of :name": "",
"Here you can see all events of :name.": ""
}

View File

@@ -622,5 +622,17 @@
"Back": "",
"By lecturer": "",
"All courses of this lecturer": "",
"Here you can see all events of this lecturer.": ""
"Here you can see all events of this lecturer.": "",
"This lecturer has not yet written an introduction.": "",
"Subtitle": "",
"This is the subtitle on the landing page.": "",
"Intro": "",
"This is the introduction text that is shown on the landing page.": "",
"If your city is not listed, please create it first.": "",
"has": "",
"logins": "",
"You get a point when you log in.": "",
"points": "",
"All courses of :name": "",
"Here you can see all events of :name.": ""
}

View File

@@ -622,5 +622,17 @@
"Back": "",
"By lecturer": "",
"All courses of this lecturer": "",
"Here you can see all events of this lecturer.": ""
"Here you can see all events of this lecturer.": "",
"This lecturer has not yet written an introduction.": "",
"Subtitle": "",
"This is the subtitle on the landing page.": "",
"Intro": "",
"This is the introduction text that is shown on the landing page.": "",
"If your city is not listed, please create it first.": "",
"has": "",
"logins": "",
"You get a point when you log in.": "",
"points": "",
"All courses of :name": "",
"Here you can see all events of :name.": ""
}

View File

@@ -622,5 +622,17 @@
"Back": "",
"By lecturer": "",
"All courses of this lecturer": "",
"Here you can see all events of this lecturer.": ""
"Here you can see all events of this lecturer.": "",
"This lecturer has not yet written an introduction.": "",
"Subtitle": "",
"This is the subtitle on the landing page.": "",
"Intro": "",
"This is the introduction text that is shown on the landing page.": "",
"If your city is not listed, please create it first.": "",
"has": "",
"logins": "",
"You get a point when you log in.": "",
"points": "",
"All courses of :name": "",
"Here you can see all events of :name.": ""
}

View File

@@ -596,5 +596,17 @@
"Back": "",
"By lecturer": "",
"All courses of this lecturer": "",
"Here you can see all events of this lecturer.": ""
"Here you can see all events of this lecturer.": "",
"This lecturer has not yet written an introduction.": "",
"Subtitle": "",
"This is the subtitle on the landing page.": "",
"Intro": "",
"This is the introduction text that is shown on the landing page.": "",
"If your city is not listed, please create it first.": "",
"has": "",
"logins": "",
"You get a point when you log in.": "",
"points": "",
"All courses of :name": "",
"Here you can see all events of :name.": ""
}

View File

@@ -103,7 +103,7 @@
<div
class="group aspect-w-10 aspect-h-10 block w-full overflow-hidden rounded-lg bg-gray-100 focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 focus-within:ring-offset-gray-100">
<img
src="{{ $orangePill->bookCase->getFirstMediaUrl('images') ? $orangePill->bookCase->getFirstMediaUrl('images') : asset('img/empty_book_case.webp') }}"
src="{{ $orangePill->getFirstMediaUrl('images') ? $orangePill->bookCase->getFirstMediaUrl('images') ?: asset('img/empty_book_case.webp') : asset('img/empty_book_case.webp') }}"
alt="book_case"
class="pointer-events-none object-cover group-hover:opacity-75">
</div>

View File

@@ -27,6 +27,16 @@
</ul>
</div>
<div class="col-span-6 sm:col-span-4">
<form wire:submit.prevent="save">
<label class="my-2 text-gray-200 text-xl">{{ __('Photo') }}</label>
<div class="text-sm text-gray-500">
<input type="file" wire:model="photo">
@error('photo') <span class="text-red-500">{{ $message }}</span> @enderror
</div>
</form>
</div>
<div class="col-span-6 sm:col-span-4">
<x-input
min="1"