summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-04-06 13:23:35 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-04-06 13:23:35 +0200
commitb5e60062a528f6ace5c67f280443819470e0225a (patch)
tree0b96d79ca04ecc19254831a7026f624d87549d6c
parent8ef32a10c6fd8e4ace44a5e797f6176f80b9560e (diff)
Add link to article title
https://github.com/marienfressinaud/FreshRSS/issues/469
-rw-r--r--app/views/helpers/view/normal_view.phtml2
-rw-r--r--p/themes/Dark/freshrss.css2
-rw-r--r--p/themes/Flat/freshrss.css2
-rw-r--r--p/themes/Origine/freshrss.css2
4 files changed, 4 insertions, 4 deletions
diff --git a/app/views/helpers/view/normal_view.phtml b/app/views/helpers/view/normal_view.phtml
index b0f90b4c9..b5cdd3039 100644
--- a/app/views/helpers/view/normal_view.phtml
+++ b/app/views/helpers/view/normal_view.phtml
@@ -88,7 +88,7 @@ if (!empty($this->entries)) {
<div class="flux_content">
<div class="content">
- <h1 class="title"><?php echo $item->title (); ?></h1>
+ <h1 class="title"><a target="_blank" href="<?php echo $item->link (); ?>"><?php echo $item->title (); ?></a></h1>
<?php
$author = $item->author ();
echo $author != '' ? '<div class="author">' . Minz_Translate::t ('by_author', $author) . '</div>' : '';
diff --git a/p/themes/Dark/freshrss.css b/p/themes/Dark/freshrss.css
index f6577c645..6275d8938 100644
--- a/p/themes/Dark/freshrss.css
+++ b/p/themes/Dark/freshrss.css
@@ -290,7 +290,7 @@
.flux .item.title {
background: inherit;
}
- .flux .item.title a {
+ .flux .title a {
color: #888;
outline: none;
}
diff --git a/p/themes/Flat/freshrss.css b/p/themes/Flat/freshrss.css
index 1d551d8fb..1f297309b 100644
--- a/p/themes/Flat/freshrss.css
+++ b/p/themes/Flat/freshrss.css
@@ -286,7 +286,7 @@ body {
.flux .item.title {
background: inherit;
}
- .flux .item.title a {
+ .flux .title a {
color: #333;
outline: none;
}
diff --git a/p/themes/Origine/freshrss.css b/p/themes/Origine/freshrss.css
index 86bd508df..662e085d6 100644
--- a/p/themes/Origine/freshrss.css
+++ b/p/themes/Origine/freshrss.css
@@ -300,7 +300,7 @@
.flux .item.title {
background: inherit;
}
- .flux .item.title a {
+ .flux .title a {
color: #000;
outline: none;
}