added 'no news available' message

This commit is contained in:
adisposkofh
2026-09-25 11:27:00 +02:00
parent 153717b187
commit 1e2dbeac10
2 changed files with 30 additions and 1 deletions
+10 -1
View File
@@ -127,7 +127,16 @@ export default {
<hr/>
<div class="container-fluid mt-4">
<div class="row">
<div :class="isStudent ? 'col-12 col-md-8 col-xl-9' : 'col-12'" v-html="content"></div>
<div v-if="maxPageCount" :class="isStudent ? 'col-12 col-md-8 col-xl-9' : 'col-12'" v-html="content"></div>
<div
v-else
class="d-flex flex-row justify-content-center pt-3 pb-4"
:class="isStudent ? 'col-12 col-md-8 col-xl-9' : 'col-12'"
>
<span>
{{ $p.t('news/no_news') }}
</span>
</div>
<div v-if="isStudent" class="col-12 col-md-4 col-xl-3">
<studiengang-information></studiengang-information>
</div>
+20
View File
@@ -44247,6 +44247,26 @@ array(
)
)
),
array(
'app' => 'core',
'category' => 'news',
'phrase' => 'no_news',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Keine Nachrichten verfügbar!',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'No news available!',
'description' => '',
'insertvon' => 'system'
)
)
),
// CIS4 phrases from legacy code begin
array(
'app' => 'core',