mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-13 06:56:48 +00:00
tweet news
This commit is contained in:
@@ -753,5 +753,9 @@
|
||||
"Current picture": "Derzeitiges Bild",
|
||||
"Article approved": "Artikel genehmigt",
|
||||
"approved": "genehmigt",
|
||||
"not approved": "nicht genehmigt"
|
||||
"not approved": "nicht genehmigt",
|
||||
"Article not approved yet": "Artikel noch nicht genehmigt",
|
||||
"Article tweeted": "Artikel getwittert",
|
||||
"Error tweeting article": "Fehler beim Twittern des Artikels",
|
||||
"Tweet": "Tweet"
|
||||
}
|
||||
|
||||
@@ -749,5 +749,9 @@
|
||||
"Current picture": "",
|
||||
"Article approved": "",
|
||||
"approved": "",
|
||||
"not approved": ""
|
||||
"not approved": "",
|
||||
"Article not approved yet": "",
|
||||
"Article tweeted": "",
|
||||
"Error tweeting article": "",
|
||||
"Tweet": ""
|
||||
}
|
||||
@@ -749,5 +749,9 @@
|
||||
"Current picture": "",
|
||||
"Article approved": "",
|
||||
"approved": "",
|
||||
"not approved": ""
|
||||
"not approved": "",
|
||||
"Article not approved yet": "",
|
||||
"Article tweeted": "",
|
||||
"Error tweeting article": "",
|
||||
"Tweet": ""
|
||||
}
|
||||
@@ -750,5 +750,9 @@
|
||||
"Current picture": "",
|
||||
"Article approved": "",
|
||||
"approved": "",
|
||||
"not approved": ""
|
||||
"not approved": "",
|
||||
"Article not approved yet": "",
|
||||
"Article tweeted": "",
|
||||
"Error tweeting article": "",
|
||||
"Tweet": ""
|
||||
}
|
||||
@@ -750,5 +750,9 @@
|
||||
"Current picture": "",
|
||||
"Article approved": "",
|
||||
"approved": "",
|
||||
"not approved": ""
|
||||
"not approved": "",
|
||||
"Article not approved yet": "",
|
||||
"Article tweeted": "",
|
||||
"Error tweeting article": "",
|
||||
"Tweet": ""
|
||||
}
|
||||
@@ -750,5 +750,9 @@
|
||||
"Current picture": "",
|
||||
"Article approved": "",
|
||||
"approved": "",
|
||||
"not approved": ""
|
||||
"not approved": "",
|
||||
"Article not approved yet": "",
|
||||
"Article tweeted": "",
|
||||
"Error tweeting article": "",
|
||||
"Tweet": ""
|
||||
}
|
||||
@@ -750,5 +750,9 @@
|
||||
"Current picture": "",
|
||||
"Article approved": "",
|
||||
"approved": "",
|
||||
"not approved": ""
|
||||
"not approved": "",
|
||||
"Article not approved yet": "",
|
||||
"Article tweeted": "",
|
||||
"Error tweeting article": "",
|
||||
"Tweet": ""
|
||||
}
|
||||
@@ -750,5 +750,9 @@
|
||||
"Current picture": "",
|
||||
"Article approved": "",
|
||||
"approved": "",
|
||||
"not approved": ""
|
||||
"not approved": "",
|
||||
"Article not approved yet": "",
|
||||
"Article tweeted": "",
|
||||
"Error tweeting article": "",
|
||||
"Tweet": ""
|
||||
}
|
||||
@@ -750,5 +750,9 @@
|
||||
"Current picture": "",
|
||||
"Article approved": "",
|
||||
"approved": "",
|
||||
"not approved": ""
|
||||
"not approved": "",
|
||||
"Article not approved yet": "",
|
||||
"Article tweeted": "",
|
||||
"Error tweeting article": "",
|
||||
"Tweet": ""
|
||||
}
|
||||
@@ -712,5 +712,9 @@
|
||||
"Add tag...": "",
|
||||
"Article approved": "",
|
||||
"approved": "",
|
||||
"not approved": ""
|
||||
"not approved": "",
|
||||
"Article not approved yet": "",
|
||||
"Article tweeted": "",
|
||||
"Error tweeting article": "",
|
||||
"Tweet": ""
|
||||
}
|
||||
@@ -724,5 +724,9 @@
|
||||
"Current picture": "",
|
||||
"Article approved": "",
|
||||
"approved": "",
|
||||
"not approved": ""
|
||||
"not approved": "",
|
||||
"Article not approved yet": "",
|
||||
"Article tweeted": "",
|
||||
"Error tweeting article": "",
|
||||
"Tweet": ""
|
||||
}
|
||||
@@ -45,7 +45,7 @@
|
||||
<p class="mt-3 text-base text-gray-300 line-clamp-6">{{ strip_tags($libraryItem->excerpt) }}</p>
|
||||
</a>
|
||||
</div>
|
||||
<div class="mt-6 flex items-center">
|
||||
<div class="mt-6 flex items-center w-full">
|
||||
<div class="flex-shrink-0">
|
||||
<div>
|
||||
<span
|
||||
@@ -67,11 +67,19 @@
|
||||
<span>{{ $libraryItem->read_time }} {{ __('min read') }}</span>
|
||||
@endif
|
||||
</div>
|
||||
<div class="flex space-x-1 text-sm text-gray-500 justify-end items-end">
|
||||
<div
|
||||
class="flex flex-wrap space-x-1 text-sm text-gray-500 justify-end items-end">
|
||||
@if($libraryItem->created_by === auth()->id() || auth()->user()?->hasRole('news-editor'))
|
||||
<div>
|
||||
@if($libraryItem->approved)
|
||||
<x-badge green>{{ __('approved') }}</x-badge>
|
||||
@if(auth()->user()?->hasRole('news-editor') && !$libraryItem->tweet)
|
||||
<x-button xs
|
||||
wire:click="tweet({{ $libraryItem->id }})">
|
||||
<i class="fa fa-brand fa-twitter"></i>
|
||||
{{ __('Tweet') }}
|
||||
</x-button>
|
||||
@endif
|
||||
@else
|
||||
<x-badge negative>{{ __('not approved') }}</x-badge>
|
||||
@endif
|
||||
|
||||
Reference in New Issue
Block a user