diff --git a/assets/css/app.css b/assets/css/app.css index f2782c1..1bd491a 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -380,6 +380,11 @@ nav .active a { color: #aaa; } +.feed-last-checked { + color: brown; + font-size: 0.7em; + font-weight: normal; +} /* items listing */ .items article { diff --git a/assets/js/app.js b/assets/js/app.js index b6f9f6f..773a122 100644 --- a/assets/js/app.js +++ b/assets/js/app.js @@ -164,6 +164,9 @@ { var container = document.getElementById("loading-feed-" + feed_id); if (container) container.innerHTML = ""; + + var container = document.getElementById("last-checked-feed-" + feed_id); + if (container) container.innerHTML = container.getAttribute("data-after-update"); } @@ -186,7 +189,6 @@ var response = JSON.parse(this.responseText); if (callback) { - callback(response); } } diff --git a/locales/fr_FR/translations.php b/locales/fr_FR/translations.php index f3ced37..9a5771b 100644 --- a/locales/fr_FR/translations.php +++ b/locales/fr_FR/translations.php @@ -1,6 +1,9 @@ 'mis à jour à l\'instant', + 'checked at' => 'vérifié le', + 'never updated after creation' => 'jamais mis à jour après la création', 'Unable to enable this subscription.' => 'Impossible d\'activer cet abonnement.', 'This subscription has been enabled successfully.' => 'L\'abonnement a été activé avec succès.', 'Unable to disable this subscription.' => 'Impossible de désactiver cet abonnement.', diff --git a/templates/feeds.php b/templates/feeds.php index 7a82872..6c9a19d 100644 --- a/templates/feeds.php +++ b/templates/feeds.php @@ -30,6 +30,17 @@ = Helper\escape($feed['title']) ?> + + + + + + = t('never updated after creation') ?> + + +