forked from Archives/Athou_commafeed
highlight search results
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
{{entry.feedName}}
|
||||
</span>
|
||||
<span class="entry-date">{{entry.date | entryDate}}</span>
|
||||
<span class="entry-name" ng-class="{shrink: true, rtl: entry.rtl}" ng-bind-html-unsafe="entry.title"></span>
|
||||
<span class="entry-name" ng-class="{shrink: true, rtl: entry.rtl}" ng-bind-html-unsafe="entry.title | highlight:keywords"></span>
|
||||
</a>
|
||||
<a href="{{entry.url}}" target="_blank" class="entry-external-link" ng-click="mark(entry, true)">
|
||||
<i class="icon-external-link"></i>
|
||||
@@ -42,7 +42,7 @@
|
||||
ng-class="{rtl: entry.rtl}">
|
||||
<div class="entry-header">
|
||||
<div class="entry-title">
|
||||
<a href="{{entry.url}}" target="_blank" ng-bind-html-unsafe="entry.title"></a>
|
||||
<a href="{{entry.url}}" target="_blank" ng-bind-html-unsafe="entry.title | highlight:keywords"></a>
|
||||
<div class="entry-subtitle">
|
||||
<span class="entry-source" ui-if="selectedType == 'category'">
|
||||
<span class="entry-source-prefix">${view.entry_source}</span>
|
||||
@@ -57,7 +57,7 @@
|
||||
</div>
|
||||
|
||||
<div class="entry-body-content">
|
||||
<div ng-bind-html-unsafe="entry.content"></div>
|
||||
<div ng-bind-html-unsafe="entry.content | highlight:keywords"></div>
|
||||
<div class="entry-enclosure" ui-if="entry.enclosureType">
|
||||
<video controls ui-if="entry.enclosureType && entry.enclosureType.indexOf('video') == 0">
|
||||
<source src="{{entry.enclosureUrl}}" type="{{entry.enclosureType}}" />
|
||||
|
||||
Reference in New Issue
Block a user