Create new author button added

This commit is contained in:
HolgerHatGarKeineNode
2023-02-10 00:43:58 +01:00
parent c1094f2f37
commit 992fd47dce
11 changed files with 41 additions and 11 deletions

View File

@@ -737,5 +737,6 @@
"Author": "Autor",
"Ex: Photo by Timothy Vollmer\/ CC BY": "Zum Beispiel: Foto von Timothy Vollmer\/ CC BY",
"Article as Markdown": "Artikel als Markdown",
"For images in Markdown, please use eg. Imgur or another provider.": "Für Bilder in Markdown, benutze bitte z.B. Imgur oder einen anderen Anbieter."
"For images in Markdown, please use eg. Imgur or another provider.": "Für Bilder in Markdown, benutze bitte z.B. Imgur oder einen anderen Anbieter.",
"Create new author": "Erstelle neuen Autor"
}

View File

@@ -732,5 +732,7 @@
"Author": "",
"Ex: Photo by Timothy Vollmer\/ CC BY": "",
"Article as Markdown": "",
"For images in Markdown, please use eg. Imgur or another provider.": ""
"For images in Markdown, please use eg. Imgur or another provider.": "",
"Library Items": "",
"Create new author": ""
}

View File

@@ -732,5 +732,7 @@
"Author": "",
"Ex: Photo by Timothy Vollmer\/ CC BY": "",
"Article as Markdown": "",
"For images in Markdown, please use eg. Imgur or another provider.": ""
"For images in Markdown, please use eg. Imgur or another provider.": "",
"Library Items": "",
"Create new author": ""
}

View File

@@ -733,5 +733,7 @@
"Author": "",
"Ex: Photo by Timothy Vollmer\/ CC BY": "",
"Article as Markdown": "",
"For images in Markdown, please use eg. Imgur or another provider.": ""
"For images in Markdown, please use eg. Imgur or another provider.": "",
"Library Items": "",
"Create new author": ""
}

View File

@@ -733,5 +733,7 @@
"Author": "",
"Ex: Photo by Timothy Vollmer\/ CC BY": "",
"Article as Markdown": "",
"For images in Markdown, please use eg. Imgur or another provider.": ""
"For images in Markdown, please use eg. Imgur or another provider.": "",
"Library Items": "",
"Create new author": ""
}

View File

@@ -733,5 +733,7 @@
"Author": "",
"Ex: Photo by Timothy Vollmer\/ CC BY": "",
"Article as Markdown": "",
"For images in Markdown, please use eg. Imgur or another provider.": ""
"For images in Markdown, please use eg. Imgur or another provider.": "",
"Library Items": "",
"Create new author": ""
}

View File

@@ -733,5 +733,7 @@
"Author": "",
"Ex: Photo by Timothy Vollmer\/ CC BY": "",
"Article as Markdown": "",
"For images in Markdown, please use eg. Imgur or another provider.": ""
"For images in Markdown, please use eg. Imgur or another provider.": "",
"Library Items": "",
"Create new author": ""
}

View File

@@ -733,5 +733,7 @@
"Author": "",
"Ex: Photo by Timothy Vollmer\/ CC BY": "",
"Article as Markdown": "",
"For images in Markdown, please use eg. Imgur or another provider.": ""
"For images in Markdown, please use eg. Imgur or another provider.": "",
"Library Items": "",
"Create new author": ""
}

View File

@@ -733,5 +733,7 @@
"Author": "",
"Ex: Photo by Timothy Vollmer\/ CC BY": "",
"Article as Markdown": "",
"For images in Markdown, please use eg. Imgur or another provider.": ""
"For images in Markdown, please use eg. Imgur or another provider.": "",
"Library Items": "",
"Create new author": ""
}

View File

@@ -707,5 +707,7 @@
"Author": "",
"Ex: Photo by Timothy Vollmer\/ CC BY": "",
"Article as Markdown": "",
"For images in Markdown, please use eg. Imgur or another provider.": ""
"For images in Markdown, please use eg. Imgur or another provider.": "",
"Library Items": "",
"Create new author": ""
}

View File

@@ -16,7 +16,18 @@
<div class="space-y-8 divide-y divide-gray-700 sm:space-y-5">
<div class="mt-6 sm:mt-5 space-y-6 sm:space-y-5">
<x-input.group :for="md5('libraryItem.lecturer_id')" :label="__('Author')">
<x-input.group :for="md5('libraryItem.lecturer_id')">
<x-slot name="label">
<div class="flex flex-row space-x-4 items-center">
<div>
{{ __('Author') }}
</div>
<x-button xs href="/nova/resources/lecturers/new" target="_blank">
<i class="fa fa-thin fa-plus"></i>
{{ __('Create new author') }}
</x-button>
</div>
</x-slot>
<x-select
:clearable="false"
wire:model="libraryItem.lecturer_id"