diff options
| author | 2013-03-16 18:20:52 +0100 | |
|---|---|---|
| committer | 2013-03-16 18:20:52 +0100 | |
| commit | cfcf0f26aca7287cf8635094e58a33c4963c8d39 (patch) | |
| tree | 306c24d4da8be391792b6e81310b80f430da7816 /app | |
| parent | 870ff2fa07dbe7dafc5c816ab6e74d2f9815296a (diff) | |
Ajout d'une page à propos + modifs designs
Diffstat (limited to 'app')
| -rwxr-xr-x | app/controllers/indexController.php | 4 | ||||
| -rw-r--r-- | app/layout/aside_flux.phtml | 4 | ||||
| -rw-r--r-- | app/layout/header.phtml | 1 | ||||
| -rw-r--r-- | app/views/index/about.phtml | 16 |
4 files changed, 25 insertions, 0 deletions
diff --git a/app/controllers/indexController.php b/app/controllers/indexController.php index b6a7de281..434a593e1 100755 --- a/app/controllers/indexController.php +++ b/app/controllers/indexController.php @@ -88,6 +88,10 @@ class indexController extends ActionController { } } + public function aboutAction () { + View::prependTitle ('À propos - '); + } + public function changeModeAction () { $mode = Request::param ('mode'); diff --git a/app/layout/aside_flux.phtml b/app/layout/aside_flux.phtml index 43728bc6c..2faa7b464 100644 --- a/app/layout/aside_flux.phtml +++ b/app/layout/aside_flux.phtml @@ -8,7 +8,9 @@ <a class="btn category<?php echo !$this->get ? ' active' : ''; ?>" href="<?php echo _url ('index', 'index'); ?>"> <i class="icon all"></i> Tous (<?php echo $this->nb_total; ?>) + <?php if ($this->nb_not_read > 0) { ?> <span class="notRead"><?php echo $this->nb_not_read; ?> non lu<?php echo $this->nb_not_read > 1 ? 's' : ''; ?></span> + <?php } ?> </a> </li> @@ -25,7 +27,9 @@ <li> <a class="btn category<?php echo $this->get == $cat->id () ? ' active' : ''; ?>" href="<?php echo _url ('index', 'index', 'get', 'c_' . $cat->id ()); ?>"> <?php echo $cat->name (); ?> + <?php if ($catNotRead > 0) { ?> <span class="notRead"><?php echo $catNotRead ?> non lu<?php echo $catNotRead > 1 ? 's' : ''; ?></span> + <?php } ?> </a> <?php if (!empty ($feeds)) { ?> diff --git a/app/layout/header.phtml b/app/layout/header.phtml index 811c2b4f1..1cc11c3f9 100644 --- a/app/layout/header.phtml +++ b/app/layout/header.phtml @@ -31,6 +31,7 @@ <a class="btn dropdown-toggle" href="#dropdown-configure"><i class="icon configure"></i></a> <ul class="dropdown-menu"> <li class="dropdown-close"><a href="#close"><i class="icon close"></i></a></li> + <li class="dropdown-header">Configuration</li> <li class="item"><a href="<?php echo _url ('configure', 'display'); ?>">Général et affichage</a></li> <li class="item"><a href="<?php echo _url ('configure', 'categorize'); ?>">Catégories</a></li> <li class="item"><a href="<?php echo _url ('configure', 'shortcut'); ?>">Raccourcis</a></li> diff --git a/app/views/index/about.phtml b/app/views/index/about.phtml new file mode 100644 index 000000000..ab19fe18a --- /dev/null +++ b/app/views/index/about.phtml @@ -0,0 +1,16 @@ +<div class="post content"> + <h1>À propos de FreshRSS</h1> + + <dl class="infos"> + <dt>Url du projet</dt> + <dd><a href="https://github.com/marienfressinaud/FreshRSS">https://github.com/marienfressinaud/FreshRSS</a></dd> + + <dt>Développeur principal</dt> + <dd><a href="mailto:contact@marienfressinaud.fr">Marien Fressinaud</a> - <a href="http://marienfressinaud.fr">site Internet</a></dd> + + <dt>Pour les rapports de bugs</dt> + <dd><a href="https://github.com/marienfressinaud/FreshRSS/issues">sur Github</a> ou <a href="mailto:dev@marienfressinaud.fr">par mail</a></dd> + </dl> + + <p>FreshRSS est un agrégateur de flux RSS à auto-héberger à l'image de <a href="http://rsslounge.aditu.de/">RSSLounge</a>, <a href="http://tt-rss.org/redmine/projects/tt-rss/wiki">TinyTinyRSS</a> ou <a href="http://projet.idleman.fr/leed/">Leed</a>. Il se veut léger et facile à prendre en main tout en étant un outil puissant et paramétrable. L'objectif étant d'offrir une alternative sérieuse au futur feu-Google Reader.</p> +</div> |
