Просмотр исходного кода

Merge pull request #954 from Alkarex/FeedIdUi

UI: Add feed ID in article container
Marien Fressinaud 10 лет назад
Родитель
Сommit
a63dadd91b
1 измененных файлов с 5 добавлено и 1 удалено
  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');