mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-04-04 06:35:40 -04:00
Number of unread articles as prefix in page title
https://github.com/marienfressinaud/FreshRSS/issues/536
This commit is contained in:
@@ -70,11 +70,11 @@ class FreshRSS_index_Controller extends Minz_ActionController {
|
||||
// mise à jour des titres
|
||||
$this->view->rss_title = $this->view->currentName . ' | ' . Minz_View::title();
|
||||
if ($this->view->nb_not_read > 0) {
|
||||
Minz_View::appendTitle (' (' . formatNumber($this->view->nb_not_read) . ')');
|
||||
Minz_View::prependTitle('(' . formatNumber($this->view->nb_not_read) . ') ');
|
||||
}
|
||||
Minz_View::prependTitle (
|
||||
Minz_View::prependTitle(
|
||||
($this->nb_not_read_cat > 0 ? '(' . formatNumber($this->nb_not_read_cat) . ') ' : '') .
|
||||
$this->view->currentName .
|
||||
($this->nb_not_read_cat > 0 ? ' (' . formatNumber($this->nb_not_read_cat) . ')' : '') .
|
||||
' · '
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user