<div ng-if="!viewsCtl.mnPoolDefault.value.isKvNode">
  Views are not supported on this server node as it does not have a Data service. You may access views functionality on any Data service node in the cluster, such as: <a id="js_healthy_kv_node_link" href="{{::viewsCtl.getKvNodeLink()}}" target="_blank">{{::viewsCtl.getKvNodeLink()}}</a>
</div>
<div ng-if="viewsCtl.mnPoolDefault.value.isKvNode" id="js_views" class="views">
  <h1 style="float:left;">
    <span >
      <ui-select
        ng-model="viewsCtl.state.bucketsNames.selected"
        on-select="viewsCtl.onSelectBucket($item)"
        theme="selectize"
        style="display: inline-block; vertical-align: middle;">
        <ui-select-match>{{$select.selected}}</ui-select-match>
        <ui-select-choices repeat="name in viewsCtl.state.bucketsNames | filter: $select.search">
          <span class="select-item ellipsis" ng-bind-html="name | highlight: $select.search" ></span>
        </ui-select-choices>
      </ui-select>
      <span style="vertical-align: middle;">
       &gt; <a style="vertical-align: middle;" ui-sref="app.admin.indexes.views.list">Views</a>
      </span>
    </span>
  </h1>
  <ui-view></ui-view>
</div>
<div ng-if="!viewsCtl.mnPoolDefault.value.isKvNode">
  The views interface is only available on nodes running the Data service. You may access the interface here: 
  <a id="js_healthy_kv_node_link" href="{{::viewsCtl.getKvNodeLink()}}" target="_blank">{{::viewsCtl.getKvNodeLink()}}</a>
</div>
<div ng-if="viewsCtl.mnPoolDefault.value.isKvNode" id="js_views" class="views">
  <h1 style="float:left;">
    <span >
      <ui-select
        ng-model="viewsCtl.state.bucketsNames.selected"
        on-select="viewsCtl.onSelectBucket($item)"
        theme="selectize"
        style="display: inline-block; vertical-align: middle;">
        <ui-select-match>{{$select.selected}}</ui-select-match>
        <ui-select-choices repeat="name in viewsCtl.state.bucketsNames | filter: $select.search">
          <span class="select-item ellipsis" ng-bind-html="name | highlight: $select.search" ></span>
        </ui-select-choices>
      </ui-select>
      <span style="vertical-align: middle;">
       &gt; <a style="vertical-align: middle;" ui-sref="app.admin.indexes.views.list">Views</a>
      </span>
    </span>
  </h1>
  <ui-view></ui-view>
</div>
Fix for MB-17875 - Make redirection links more consistent.
Fix for MB-17875 - Make redirection links more consistent.

After some discussion with Dave F., Rob, Perry, and myself, we chose a
consistent message for Query, View, and FTS. This change updates it
for View.

Change-Id: Ia4e0a4083e1cac2a283dc7f5e4f59bd2db16b96f
Reviewed-on: http://review.couchbase.org/62501
Reviewed-by: Pavel Blagodov <596b71e626fc58dbdad141b817770e3e4810bb9b@gmail.com>
Tested-by: Pavel Blagodov <596b71e626fc58dbdad141b817770e3e4810bb9b@gmail.com>
