change reading time displaying

This commit is contained in:
Nicolas Lœuillet 2013-10-03 14:17:45 +02:00
parent 4cc3c2ac17
commit 07ae20eeed
12 changed files with 5 additions and 25 deletions

View File

@ -65,10 +65,6 @@ a.bad-display span {
background-image: url('../img/dark/bad-display.png');
}
a.reading-time span {
background-image: url('../img/dark/clock.png');
}
.pagination a {
color: #aaa;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 332 B

View File

@ -1,7 +1,7 @@
.messages {
display: block;
clear: both;
width: 400px auto;
width: 400px;
margin: 10px auto 10px;
padding: 10px 0;
-moz-border-radius: 4px;

View File

@ -52,8 +52,4 @@ a.link span {
a.bad-display span {
background-image: url('../img/default/bad-display.png');
}
a.reading-time span {
background-image: url('../img/default/clock.png');
}
}

View File

@ -39,7 +39,7 @@
<li><a title="{% trans "toggle favorite" %}" class="tool {% if entry.is_fav == 0 %}fav-off{% else %}fav{% endif %}" href="./?action=toggle_fav&amp;id={{ entry.id|e }}"><span>{% trans "toggle favorite" %}</span></a></li>
<li><a title="{% trans "delete" %}" class="tool delete" href="./?action=delete&amp;id={{ entry.id|e }}"><span>{% trans "delete" %}</span></a></li>
<li><a href="{{ entry.url|e }}" target="_blank" title="{% trans "original" %} : {{ entry.title|e }}" class="tool link"><span>{{ entry.url | e | getDomain }}</span></a></li>
<li><a target="_blank" title="{% trans "estimated reading time:" %} {{ entry.content| getReadingTime }} min" class="tool reading-time"><span>{{ entry.content| getReadingTime }} min</span></a></li>
<li><a target="_blank" title="{% trans "estimated reading time:" %} {{ entry.content| getReadingTime }} min" class="reading-time"><span>{{ entry.content| getReadingTime }} min</span></a></li>
</ul>
<p>{{ entry.content|striptags|slice(0, 300) }}...</p>
</div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 332 B

View File

@ -65,10 +65,6 @@ a.bad-display span {
background-image: url('../img/dmagenta/bad-display.png');
}
a.reading-time span {
background-image: url('../img/dmagenta/clock.png');
}
.pagination a {
color: #aaa;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 332 B

View File

@ -216,8 +216,4 @@ a.link span {
a.bad-display span {
background-image: url('../img/solarized-dark/bad-display.png');
}
a.reading-time span {
background-image: url('../img/solarized-dark/clock.png');
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 338 B

View File

@ -216,8 +216,4 @@ a.link span {
a.bad-display span {
background-image: url('../img/solarized/bad-display.png');
}
a.reading-time span {
background-image: url('../img/solarized/clock.png');
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 346 B