Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
MUMUP-2766 Allows MyUW search results if no extra search specified (#550
Browse files Browse the repository at this point in the history
)
  • Loading branch information
vertein authored Oct 18, 2016
1 parent 146cc39 commit 6204390
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<md-content class="search-results">
<md-tabs md-dynamic-height md-border-bottom ng-show="googleSearchEnabled || directoryEnabled">
<md-tabs md-dynamic-height md-border-bottom >

<!-- ALL RESULTS -->
<md-tab>
Expand All @@ -24,7 +24,7 @@
</div>

<!-- No search results found -->
<div id="no-results" class="search-results-container" ng-show="totalCount === 0">
<div id="no-results" class="search-results-container search-results" ng-show="totalCount === 0">
<p><strong>No matches.</strong></p>
<p>Suggestions:</p>
<p ng-if="kbSearchUrl">
Expand All @@ -45,7 +45,7 @@
</md-tab>

<!-- MyUW RESULTS ONLY -->
<md-tab>
<md-tab ng-if="googleSearchEnabled || directoryEnabled">
<md-tab-label>
MyUW&nbsp;&nbsp;<span class="badge">{{ myuwFilteredResults.length }}</span>
</md-tab-label>
Expand All @@ -60,7 +60,7 @@
</md-tab>

<!-- DIRECTORY RESULTS ONLY -->
<md-tab ng-show="directoryEnabled">
<md-tab ng-if="directoryEnabled">
<md-tab-label>
Directory&nbsp;&nbsp;<span class="badge">{{ wiscDirectoryTooManyResults ? '25+' : wiscDirectoryResultCount }}</span>
</md-tab-label>
Expand All @@ -75,7 +75,7 @@
</md-tab>

<!-- GOOGLE CUSTOM SEARCH RESULTS ONLY -->
<md-tab ng-show="googleSearchEnabled">
<md-tab ng-if="googleSearchEnabled">
<md-tab-label>
{{domainResultsLabel}}&nbsp;&nbsp;<span class="badge">{{ googleResultsEstimatedCount }}</span>
</md-tab-label>
Expand Down

0 comments on commit 6204390

Please sign in to comment.