mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-18 13:24:37 -04:00
Improve "no feed to display" box
This commit is contained in:
@@ -169,7 +169,7 @@ return array (
|
||||
'not_yet_implemented' => 'Noch nicht implementiert',
|
||||
'access_protected_feeds' => 'Die Verbindung erlaubt Zugriff zu HTTP-geschützten RSS Feeds',
|
||||
'no_selected_feed' => 'Kein Feed ausgewählt.',
|
||||
'think_to_add' => '<a href="./?c=configure&a=feed">Sie können Feeds hinzufügen</a>.',
|
||||
'think_to_add' => 'Sie können Feeds hinzufügen.',
|
||||
|
||||
'current_user' => 'Aktuelle Nutzung',
|
||||
'default_user' => 'Nutzername des Standardnutzers <small>(maximal 16 Zeichen - alphanumerisch)</small>',
|
||||
|
||||
@@ -237,7 +237,7 @@ return array (
|
||||
'not_yet_implemented' => 'Not yet implemented',
|
||||
'access_protected_feeds' => 'Connection allows to access HTTP protected RSS feeds',
|
||||
'no_selected_feed' => 'No feed selected.',
|
||||
'think_to_add' => '<a href="./?c=configure&a=feed">You may add some feeds</a>.',
|
||||
'think_to_add' => 'You may add some feeds.',
|
||||
|
||||
'current_user' => 'Current user',
|
||||
'default_user' => 'Username of the default user <small>(maximum 16 alphanumeric characters)</small>',
|
||||
|
||||
@@ -237,7 +237,7 @@ return array (
|
||||
'not_yet_implemented' => 'Pas encore implémenté',
|
||||
'access_protected_feeds' => 'La connexion permet d’accéder aux flux protégés par une authentification HTTP.',
|
||||
'no_selected_feed' => 'Aucun flux sélectionné.',
|
||||
'think_to_add' => '<a href="./?c=configure&a=feed">Vous pouvez ajouter des flux</a>.',
|
||||
'think_to_add' => 'Vous pouvez ajouter des flux.',
|
||||
|
||||
'current_user' => 'Utilisateur actuel',
|
||||
'password_form' => 'Mot de passe<br /><small>(pour connexion par formulaire)</small>',
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<?php $this->partial ('nav_menu'); ?>
|
||||
|
||||
<?php if (!empty($this->entries)) { ?>
|
||||
<div id="stream" class="global categories">
|
||||
<?php
|
||||
$arUrl = array('c' => 'index', 'a' => 'index', 'params' => array());
|
||||
@@ -43,3 +44,10 @@
|
||||
<div id="panel"<?php echo $this->conf->display_posts ? '' : ' class="hide_posts"'; ?>>
|
||||
<a class="close" href="#"><?php echo FreshRSS_Themes::icon('close'); ?></a>
|
||||
</div>
|
||||
|
||||
<?php } else { ?>
|
||||
<div class="prompt alert alert-warn">
|
||||
<h2><?php echo _t('no_feed_to_display'); ?></h2>
|
||||
<a href="<?php echo _url('configure', 'feed'); ?>"><?php echo _t('think_to_add'); ?></a><br /><br />
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
@@ -183,8 +183,8 @@ if (!empty($this->entries)) {
|
||||
<?php $this->partial ('nav_entries'); ?>
|
||||
|
||||
<?php } else { ?>
|
||||
<div id="stream" class="alert alert-warn normal">
|
||||
<span class="alert-head"><?php echo Minz_Translate::t ('no_feed_to_display'); ?></span>
|
||||
<?php echo Minz_Translate::t ('think_to_add'); ?>
|
||||
<div class="prompt alert alert-warn">
|
||||
<h2><?php echo _t('no_feed_to_display'); ?></h2>
|
||||
<a href="<?php echo _url('configure', 'feed'); ?>"><?php echo _t('think_to_add'); ?></a><br /><br />
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
@@ -37,8 +37,8 @@ if (!empty($this->entries)) {
|
||||
</div>
|
||||
|
||||
<?php } else { ?>
|
||||
<div id="stream" class="alert alert-warn reader">
|
||||
<span class="alert-head"><?php echo Minz_Translate::t ('no_feed_to_display'); ?></span>
|
||||
<?php echo Minz_Translate::t ('think_to_add'); ?>
|
||||
<div class="prompt alert alert-warn">
|
||||
<h2><?php echo _t('no_feed_to_display'); ?></h2>
|
||||
<a href="<?php echo _url('configure', 'feed'); ?>"><?php echo _t('think_to_add'); ?></a><br /><br />
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
Reference in New Issue
Block a user