mirror of https://github.com/rancher/ui.git
Host view options broken rancher/rancher#5107
remove storage pool detial link until detail page ready rancher/rancher#4527
This commit is contained in:
parent
70e689f144
commit
78f976cf96
|
|
@ -6,11 +6,13 @@
|
|||
<div class="pull-left">{{badge-state model=model}}</div>
|
||||
{{/unless}}
|
||||
<h4>
|
||||
{{#if single}}
|
||||
<span class="divider clip">{{model.name}}</span>
|
||||
{{else}}
|
||||
<span class="divider clip">{{#link-to "storagepools.detail" model.id}} {{model.name}}{{/link-to}}</span>
|
||||
{{/if}}
|
||||
<span class="divider clip">{{model.name}}</span>
|
||||
{{!-- when storage pools details ready --}}
|
||||
{{!-- {{#if single}} --}}
|
||||
{{!-- <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>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -4,12 +4,14 @@
|
|||
{{#link-to "hosts.new" classNames="btn btn-sm btn-primary"}}{{t 'hostsPage.index.addHost'}}{{/link-to}}
|
||||
|
||||
<div class="btn-group pull-right">
|
||||
{{tooltip-link icon="icon-ellipsis" text=(t 'hostsPage.index.tooltip.listView') options=listLinkOptions}}
|
||||
{{tooltip-link icon="icon-layeredgroup" text=(t 'hostsPage.index.tooltip.groupedView') options=groupLinkOptions}}
|
||||
{{#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}}
|
||||
{{#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 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>
|
||||
</section>
|
||||
|
||||
|
|
|
|||
|
|
@ -653,6 +653,7 @@ hostsPage:
|
|||
groupedView: Grouped Stacks & Sidekicks
|
||||
columns:
|
||||
emptyMessage: No hosts or containers yet.
|
||||
showSystem: Show System
|
||||
new:
|
||||
header:
|
||||
linkTo: "Hosts: "
|
||||
|
|
|
|||
Loading…
Reference in New Issue