Browse Source

Add link to article title

https://github.com/marienfressinaud/FreshRSS/issues/469
Alexandre Alapetite 12 years ago
parent
commit
b5e60062a5

+ 1 - 1
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>' : '';

+ 1 - 1
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;
 			}

+ 1 - 1
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;
 			}

+ 1 - 1
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;
 			}