Browse Source

in grouped mode, don't display feed titles twice

Andrew Dolgov 11 months ago
parent
commit
42780ddeb3
7 changed files with 23 additions and 2 deletions
  1. 4 0
      css/cdm.less
  2. 6 0
      css/default.css
  3. 1 1
      css/default.css.map
  4. 4 0
      css/tt-rss.less
  5. 1 0
      js/Headlines.js
  6. 6 0
      themes/night.css
  7. 1 1
      themes/night.css.map

+ 4 - 0
css/cdm.less

@@ -148,6 +148,10 @@ div.cdm.active div.content {
 	color : black;
 }
 
+div.cdm.vgrlf .feed {
+	display : none;
+}
+
 .cdm {
 	div.feed-title {
 		border: 0px solid @color-link;

+ 6 - 0
css/default.css

@@ -268,6 +268,9 @@ body.ttrss_main .hl a.title.high,
 body.ttrss_main .hl span.hl-content.high .preview {
   color: #00aa00;
 }
+body.ttrss_main .hl.vgrlf .feed {
+  display: none;
+}
 body.ttrss_main .hl.Unread {
   background: white;
 }
@@ -1161,6 +1164,9 @@ div.cdm.expanded.Unread div.content {
 div.cdm.active div.content {
   color: black;
 }
+div.cdm.vgrlf .feed {
+  display: none;
+}
 .cdm div.feed-title {
   border: 0px solid #257aa7;
   border-bottom-width: 1px;

File diff suppressed because it is too large
+ 1 - 1
css/default.css.map


+ 4 - 0
css/tt-rss.less

@@ -308,6 +308,10 @@ body.ttrss_main {
 		}
 	}
 
+	.hl.vgrlf .feed {
+		display : none;
+	}
+
 	.hl.Unread {
 		background : white;
 	}

+ 1 - 0
js/Headlines.js

@@ -250,6 +250,7 @@ define(["dojo/_base/declare"], function (declare) {
 			if (hl.marked) row_class += " marked";
 			if (hl.published) row_class += " published";
 			if (hl.unread) row_class += " Unread";
+			if (headlines.vfeed_group_enabled) row_class += " vgrlf";
 
 			if (headlines.vfeed_group_enabled && hl.feed_title && this.vgroup_last_feed != hl.feed_id) {
 				let vgrhdr = `<div data-feed-id='${hl.feed_id}' class='feed-title'>

+ 6 - 0
themes/night.css

@@ -268,6 +268,9 @@ body.ttrss_main .hl a.title.high,
 body.ttrss_main .hl span.hl-content.high .preview {
   color: #00aa00;
 }
+body.ttrss_main .hl.vgrlf .feed {
+  display: none;
+}
 body.ttrss_main .hl.Unread {
   background: white;
 }
@@ -1161,6 +1164,9 @@ div.cdm.expanded.Unread div.content {
 div.cdm.active div.content {
   color: black;
 }
+div.cdm.vgrlf .feed {
+  display: none;
+}
 .cdm div.feed-title {
   border: 0px solid #b87d2c;
   border-bottom-width: 1px;

File diff suppressed because it is too large
+ 1 - 1
themes/night.css.map