summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-09-13 20:13:51 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-09-13 20:13:51 +0200
commit14a03286a83070fbaec63459ecee302e02c23b2a (patch)
treec03e98477a550f9af45bd5c038218fb267211413 /templates
parent31f812730e763a180962b35bb0d6713781755be2 (diff)
layout
Diffstat (limited to 'templates')
-rw-r--r--templates/part.content.php17
1 files changed, 8 insertions, 9 deletions
diff --git a/templates/part.content.php b/templates/part.content.php
index a2e2950f5..6fe9906e9 100644
--- a/templates/part.content.php
+++ b/templates/part.content.php
@@ -17,11 +17,16 @@
<div class="utils" ng-click="Content.toggleItem(item)">
<ul>
- <li class="util only-in-expanded"></li>
+ <li class="util-spacer only-in-expanded"></li>
<li class="title only-in-compact"
title="{{ item.title }}"
ng-style="{ backgroundImage: 'url(' + Content.getFeed(item.feedId).faviconLink + ')'}">
- <h1>{{ item.title }}</h1>
+ <h1><a>{{ item.title }}</a></h1>
+ </li>
+ <li class="only-in-compact">
+ <time class="date" title="{{ item.pubDate*1000|date:'yyyy-MM-dd HH:mm:ss' }}"
+ datetime="{{ item.pubDate*1000|date:'yyyy-MM-ddTHH:mm:ssZ' }}">{{ Content.getRelativeDate(item.pubDate) }}
+ </time>
</li>
<li ng-click="Content.toggleStar(item.id)" class="util" news-stop-propagation>
<button class="star svg" ng-class="{'starred': item.starred}" title="<?php p($l->t('Star')); ?>"></button>
@@ -53,13 +58,7 @@
</a>
</div>
- <div class="subtitle only-in-compact">
- <time class="date" title="{{ item.pubDate*1000|date:'yyyy-MM-dd HH:mm:ss' }}"
- datetime="{{ item.pubDate*1000|date:'yyyy-MM-ddTHH:mm:ssZ' }}">{{ Content.getRelativeDate(item.pubDate) }}</time>
- <span class="author" ng-show="item.author">, <?php p($l->t('by')) ?> {{ item.author }}</span>
- </div>
-
- <div class="subtitle only-in-expanded">
+ <div class="subtitle">
<span class="author" ng-show="item.author"> <?php p($l->t('by')) ?> {{ item.author }}</span>
<span class="source"><?php p($l->t('from')) ?> <a ng-href="#/items/feeds/{{ item.feedId }}/">{{ Content.getFeed(item.feedId).title }}</a></span>
</div>