Host view options broken rancher/rancher#5107

remove storage pool detial link until detail page ready rancher/rancher#4527
This commit is contained in:
Westly Wright 2016-06-17 10:23:33 -07:00
parent 70e689f144
commit 78f976cf96
3 changed files with 13 additions and 8 deletions

View File

@ -6,11 +6,13 @@
<div class="pull-left">{{badge-state model=model}}</div> <div class="pull-left">{{badge-state model=model}}</div>
{{/unless}} {{/unless}}
<h4> <h4>
{{#if single}}
<span class="divider clip">{{model.name}}</span> <span class="divider clip">{{model.name}}</span>
{{else}} {{!-- when storage pools details ready --}}
<span class="divider clip">{{#link-to "storagepools.detail" model.id}} {{model.name}}{{/link-to}}</span> {{!-- {{#if single}} --}}
{{/if}} {{!-- <span class="divider clip">{{model.name}}</span> --}}
{{!-- {{else}} --}}
{{!-- <span class="divider clip">{{#link-to "storagepools.detail" model.id}} {{model.name}}{{/link-to}}</span> --}}
{{!-- {{/if}} --}}
</h4> </h4>
</div> </div>

View File

@ -4,12 +4,14 @@
{{#link-to "hosts.new" classNames="btn btn-sm btn-primary"}}{{t 'hostsPage.index.addHost'}}{{/link-to}} {{#link-to "hosts.new" classNames="btn btn-sm btn-primary"}}{{t 'hostsPage.index.addHost'}}{{/link-to}}
<div class="btn-group pull-right"> <div class="btn-group pull-right">
{{tooltip-link icon="icon-ellipsis" text=(t 'hostsPage.index.tooltip.listView') options=listLinkOptions}} {{#link-to "hosts" (query-params mode="dot") classNames="btn btn-sm btn-default"}}{{tooltip-link icon="icon-ellipsis" text=(t 'hostsPage.index.tooltip.listView') options=listLinkOptions}}{{/link-to}}
{{tooltip-link icon="icon-layeredgroup" text=(t 'hostsPage.index.tooltip.groupedView') options=groupLinkOptions}} {{#link-to "hosts" (query-params mode="grouped") classNames="btn btn-sm btn-default"}}{{tooltip-link icon="icon-layeredgroup" text=(t 'hostsPage.index.tooltip.groupedView') options=groupLinkOptions}}{{/link-to}}
</div> </div>
<div class="btn-group pull-right r-mr10 r-mt5"> <div class="btn-group pull-right r-mr10 r-mt5">
<label style="font-weight: normal;">{{input type="checkbox" checked=showSystem}} Show System</label> <label style="font-weight: normal;">{{input type="checkbox" checked=showSystem}} {{t 'hostsPage.index.showSystem'}}</label>
</div> </div>
</section> </section>

View File

@ -653,6 +653,7 @@ hostsPage:
groupedView: Grouped Stacks & Sidekicks groupedView: Grouped Stacks & Sidekicks
columns: columns:
emptyMessage: No hosts or containers yet. emptyMessage: No hosts or containers yet.
showSystem: Show System
new: new:
header: header:
linkTo: "Hosts: " linkTo: "Hosts: "