mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
$libraryItemName .= ' von '.$libraryItem->lecturer->name;
This commit is contained in:
@@ -26,7 +26,7 @@ class LibraryItemObserver
|
|||||||
if ($libraryItem->lecturer->twitter_username && $libraryItem->type !== 'markdown_article') {
|
if ($libraryItem->lecturer->twitter_username && $libraryItem->type !== 'markdown_article') {
|
||||||
$libraryItemName .= ' von @'.$libraryItem->lecturer->twitter_username;
|
$libraryItemName .= ' von @'.$libraryItem->lecturer->twitter_username;
|
||||||
}
|
}
|
||||||
if ($libraryItem->lecturer->twitter_username && $libraryItem->type === 'markdown_article') {
|
if (!$libraryItem->lecturer->twitter_username) {
|
||||||
$libraryItemName .= ' von '.$libraryItem->lecturer->name;
|
$libraryItemName .= ' von '.$libraryItem->lecturer->name;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -37,7 +37,8 @@ class LibraryItemObserver
|
|||||||
|
|
||||||
if ($libraryItem->type !== 'markdown_article') {
|
if ($libraryItem->type !== 'markdown_article') {
|
||||||
|
|
||||||
if ($libraryItem->whereDoesntHave('libraries', fn($query) => $query->where('libraries.is_public', false))
|
if ($libraryItem->whereDoesntHave('libraries',
|
||||||
|
fn($query) => $query->where('libraries.is_public', false))
|
||||||
->exists()) {
|
->exists()) {
|
||||||
$text = sprintf("Es gibt was Neues zum Lesen oder Anhören:\n\n%s\n\n%s\n\n#Bitcoin #Wissen #Einundzwanzig #gesundesgeld",
|
$text = sprintf("Es gibt was Neues zum Lesen oder Anhören:\n\n%s\n\n%s\n\n#Bitcoin #Wissen #Einundzwanzig #gesundesgeld",
|
||||||
$libraryItemName,
|
$libraryItemName,
|
||||||
|
|||||||
614
composer.lock
generated
614
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -14,7 +14,7 @@ ENV TZ=UTC
|
|||||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y gnupg gosu curl ca-certificates zip unzip git supervisor sqlite3 libcap2-bin libpng-dev python2 \
|
&& apt-get install -y gnupg gosu curl ca-certificates zip unzip git supervisor sqlite3 libcap2-bin libpng-dev python2 vim \
|
||||||
&& mkdir -p ~/.gnupg \
|
&& mkdir -p ~/.gnupg \
|
||||||
&& chmod 600 ~/.gnupg \
|
&& chmod 600 ~/.gnupg \
|
||||||
&& echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf \
|
&& echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf \
|
||||||
|
|||||||
Reference in New Issue
Block a user