-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
3 changed files
with
154 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 41 additions & 19 deletions
60
src/js/widgets/list_of_things/templates/empty-view-template.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,46 @@ | ||
<div class="s-empty-view-msg"> | ||
<div class="h4"> | ||
Sorry no results were found for <code>{{query}}</code> | ||
</div> | ||
<div class="h4">Sorry no results were found for <code>{{query}}</code></div> | ||
{{#if showTugboatMessage}} | ||
<div> | ||
Using the ADS classic query translator? view the <a href="//adsabs.github.io/help/faq/#classic-search-translator" rel="noopener" target="_blank">docs</a>. | ||
</div> | ||
<div> | ||
Using the ADS classic query translator? view the | ||
<a | ||
href="//adsabs.github.io/help/faq/#classic-search-translator" | ||
rel="noopener" | ||
target="_blank" | ||
>docs</a | ||
>. | ||
</div> | ||
{{else}} | ||
<ul> | ||
<li>Try broadening your search</li> | ||
<li>Disable any filters that may be applied</li> | ||
<li><a href="#">Check out some examples</a></li> | ||
<li><a href="https://adsabs.github.io/help/search/search-syntax" target="_blank" rel="noopener">Read our help pages</a></li> | ||
</ul> | ||
<span> | ||
Not seeing something that should be here? Let us know! | ||
<button class="btn btn-primary-faded results-feedback-button" data-toggle="modal" data-target="#feedback-modal" data-feedback-view="general"> | ||
<i class="fa fa-comment"></i> | ||
Leave Feedback | ||
</button> | ||
</span> | ||
<ul> | ||
{{#if suggestedQuery}} | ||
<li> | ||
Try an alternate query? | ||
<a href="{{suggestedQuery.url}}">{{suggestedQuery.query}}</a> | ||
</li> | ||
{{/if}} | ||
<li>Try broadening your search</li> | ||
<li>Disable any filters that may be applied</li> | ||
<li><a href="#">Check out some examples</a></li> | ||
<li> | ||
<a | ||
href="https://adsabs.github.io/help/search/search-syntax" | ||
target="_blank" | ||
rel="noopener" | ||
>Read our help pages</a | ||
> | ||
</li> | ||
</ul> | ||
<span> | ||
Not seeing something that should be here? Let us know! | ||
<button | ||
class="btn btn-primary-faded results-feedback-button" | ||
data-toggle="modal" | ||
data-target="#feedback-modal" | ||
data-feedback-view="general" | ||
> | ||
<i class="fa fa-comment"></i> | ||
Leave Feedback | ||
</button> | ||
</span> | ||
{{/if}} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters