Ver Fonte

UI: Add feed ID in article container

https://github.com/FreshRSS/FreshRSS/issues/953
Alexandre Alapetite há 10 anos atrás
pai
commit
c75863ff0f
1 ficheiros alterados com 5 adições e 1 exclusões
  1. 5 1
      app/views/index/normal.phtml

+ 5 - 1
app/views/index/normal.phtml

@@ -56,7 +56,11 @@ if (!empty($this->entries)) {
 			?></div><?php
 			$display_others = false;
 		}
-	?><div class="flux<?php echo !$this->entry->isRead() ? ' not_read' : ''; ?><?php echo $this->entry->isFavorite() ? ' favorite' : ''; ?>" id="flux_<?php echo $this->entry->id(); ?>"><?php
+	?><div class="flux<?php echo !$this->entry->isRead() ? ' not_read' : '';
+		?><?php echo $this->entry->isFavorite() ? ' favorite' : '';
+		?>" id="flux_<?php echo $this->entry->id();
+		?>" data-feed="<?php echo $this->feed->id();
+		?>"><?php
 
 			$this->renderHelper('index/normal/entry_header');