tweaking display for search results

This commit is contained in:
Athou
2013-08-07 16:31:44 +02:00
parent 4520ef4078
commit 041b5ad2c0
2 changed files with 8 additions and 3 deletions

View File

@@ -52,6 +52,8 @@ view.error_while_loading_feed=Error while loading this feed
view.keep_unread=Keep unread
view.no_unread_items=has no unread items.
view.mark_up_to_here=Mark as read up to here
view.search_for=searching for:
view.no_search_results=No match found for the requested keywords
feedsearch.hint=Type in a subscription...
feedsearch.help=Use the return key to select and arrow keys to navigate.

View File

@@ -9,8 +9,8 @@
<a ng-show="feedLink" href="{{feedLink}}" target="_blank">{{name}}</a>
</span>
</span>
&nbsp;
<span ng-show="name && selectedType == 'category'"> &#187;</span>
<span ng-show="name"> &#187;</span>
<span ng-show="keywords">${view.search_for} '{{keywords}}'</span>
</h3>
</div>
@@ -114,7 +114,10 @@
</div>
</div>
</div>
<div class="no-entries" ng-show="name && entries.length == 0 && !busy">"{{name}}" ${view.no_unread_items}</div>
<div class="no-entries" ng-show="name && entries.length == 0 && !busy">
<span ng-show="keywords">${view.no_search_results}</span>
<span ng-hide="keywords">"{{name}}" ${view.no_unread_items}</span>
</div>
<div modal="shortcutsModal" close="shortcutsModal=false" options="shortcutsOpts">
<div class="modal-header">
<button type="button" class="close" ng-click="shortcutsModal=false">&times;</button>