summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-09-14 21:34:02 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-09-14 21:34:02 +0200
commit6525779349ba915e17ef1846948c861bfa36425e (patch)
treea34198389cb5a9e1d43ee06253da2dad456574af /app
parent9db14d1cd3e474622a42bee40cb62ba41f4cc4b1 (diff)
Issue #161 : amélioration rendu
Le titre se fait plus discret dans la barre de la date La date disparaît en mode mobile
Diffstat (limited to 'app')
-rw-r--r--app/views/helpers/view/normal_view.phtml17
1 files changed, 14 insertions, 3 deletions
diff --git a/app/views/helpers/view/normal_view.phtml b/app/views/helpers/view/normal_view.phtml
index 4299b5fdb..43e5c0cd2 100644
--- a/app/views/helpers/view/normal_view.phtml
+++ b/app/views/helpers/view/normal_view.phtml
@@ -16,13 +16,24 @@ if (isset ($this->entryPaginator) && !$this->entryPaginator->isEmpty ()) {
<?php foreach ($items as $item) { ?>
<?php if ($display_today && $item->isDay (Days::TODAY)) { ?>
- <div class="day"><?php echo Translate::t ('today'); ?> - <?php echo timestamptodate (time (), false); ?> : <em><?php echo $this->currentName; ?></em></div>
+ <div class="day">
+ <?php echo Translate::t ('today'); ?>
+ <span class="date"> - <?php echo timestamptodate (time (), false); ?></span>
+ <span class="name"><?php echo $this->currentName; ?></span>
+ </div>
<?php $display_today = false; } ?>
<?php if ($display_yesterday && $item->isDay (Days::YESTERDAY)) { ?>
- <div class="day"><?php echo Translate::t ('yesterday'); ?> - <?php echo timestamptodate (time () - 86400, false); ?> : <em><?php echo $this->currentName; ?></em></div>
+ <div class="day">
+ <?php echo Translate::t ('yesterday'); ?>
+ <span class="date"> - <?php echo timestamptodate (time () - 86400, false); ?></span>
+ <span class="name"><?php echo $this->currentName; ?></span>
+ </div>
<?php $display_yesterday = false; } ?>
<?php if ($display_others && $item->isDay (Days::BEFORE_YESTERDAY)) { ?>
- <div class="day"><?php echo Translate::t ('before_yesterday'); ?> : <em><?php echo $this->currentName; ?></em></div>
+ <div class="day">
+ <?php echo Translate::t ('before_yesterday'); ?>
+ <span class="name"><?php echo $this->currentName; ?></span>
+ </div>
<?php $display_others = false; } ?>
<div class="flux<?php echo !$item->isRead () ? ' not_read' : ''; ?><?php echo $item->isFavorite () ? ' favorite' : ''; ?>" id="flux_<?php echo $item->id (); ?>">