summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-12-02 14:11:14 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2014-12-02 14:11:14 +0100
commita334d6b374a205262bee0f8bb267b79c42e8e6fb (patch)
treebb096b0f0c10efb211ccea0af34e6ab96cce25ca
parenta00b4c45c6c9fbf6c3b19a22bce02264a1dd37b4 (diff)
fix #667
-rw-r--r--CHANGELOG.md1
-rw-r--r--templates/part.content.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index df0822b63..55e2b1f36 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,5 @@
owncloud-news (4.2.4)
+* **Bugfix**: Clicking the button to open a website in compact view now marks the article read
* **Enhancement**: Do not expand entries in compact view when using the jump to next/previous article shortcuts since this makes it harder to keep an overview and the exact same behavior is available in expanded view anyways
owncloud-news (4.2.3)
diff --git a/templates/part.content.php b/templates/part.content.php
index 23fb17199..5c45c1db8 100644
--- a/templates/part.content.php
+++ b/templates/part.content.php
@@ -30,6 +30,7 @@
<li class="util-spacer"></li>
<li class="util only-in-compact">
<a class="external icon-link"
+ ng-click="Content.markRead(item.id)"
target="_blank"
ng-href="{{ ::item.url }}"
title="<?php p($l->t('Open website')) ?>"