Skip to content

Commit 1bd7ead

Browse files
committed
remove "preview" from nav
Removing confusing, unnecessary language in the main nav.
1 parent 6baf797 commit 1bd7ead

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

views/index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,18 @@
4343
<a class="tree-nav_link disabled" ng-if="!currentStatus || currentStatus == 'new'">Create Index</a>
4444
</li>
4545
<li class="tree-nav_item">
46-
<a ng-class="{'current': selectedView === 'search'}" class="tree-nav_link" ng-if="currentStatus == 'imported'" href="#/search">Preview Search</a>
47-
<a class="tree-nav_link disabled" ng-if="currentStatus != 'imported'">Preview Search</a>
46+
<a ng-class="{'current': selectedView === 'search'}" class="tree-nav_link" ng-if="currentStatus == 'imported'" href="#/search">Search</a>
47+
<a class="tree-nav_link disabled" ng-if="currentStatus != 'imported'">Search</a>
4848
</li>
4949
<li class="tree-nav_item">
50-
<a ng-class="{'current': selectedView === 'api'}" class="tree-nav_link" ng-if="currentStatus == 'imported'" href="#/api">Preview Content API</a>
51-
<a class="tree-nav_link disabled" ng-if="currentStatus != 'imported'">Preview Content API</a>
50+
<a ng-class="{'current': selectedView === 'api'}" class="tree-nav_link" ng-if="currentStatus == 'imported'" href="#/api">Content API</a>
51+
<a class="tree-nav_link disabled" ng-if="currentStatus != 'imported'">Content API</a>
52+
</li>
53+
<li class="tree-nav_item" ng-class="{'active':selectedView === 'settings'}">
54+
<a ng-class="{'current': selectedView === 'settings'}" class="tree-nav_link" href="#/settings">Settings</a>
5255
</li>
5356
</ul>
5457
</li>
55-
<li class="tree-nav_item" ng-class="{'active':selectedView === 'settings'}">
56-
<a ng-class="{'current': selectedView === 'settings'}" class="tree-nav_link" href="#/settings">Settings</a>
57-
</li>
5858
</ul>
5959
</nav>
6060
<!-- end sidebar -->

views/templates/api.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<section class="layout_section theme_light">
22

3-
<h1 class="type_heading" id="toc_0"><mark class="type_mark">Preview Content API</mark></h1>
3+
<h1 class="type_heading" id="toc_0"><mark class="type_mark">Content API</mark></h1>
44

55
<p class="type_copy">You've just seen how the Simple Search Service can power a search engine, now you'll see how it can power content discovery. Here, the interface uses context from the page to query the service.</p>
66

views/templates/search.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<section class="layout_section theme_light">
2-
<h1 class="type_heading"><mark class="type_mark">Preview Search</mark></h1>
2+
<h1 class="type_heading"><mark class="type_mark">Search</mark></h1>
33
<p>
44
Results delivered in {{searchDocs.time}} ms | <a class="type_copy type_link no_underline" role="button" ng-click="expandedtips = !expandedtips;toggle('searchTips')"> {{ expandedtips ? '&#9660;' : '&#9658;' }} Search tips</a>
55
</p>

0 commit comments

Comments
 (0)