Skip to content

Commit 9426cde

Browse files
committed
添加汉化资源
1 parent c258e6a commit 9426cde

File tree

4 files changed

+10
-23
lines changed

4 files changed

+10
-23
lines changed

ambari-web/app/templates/main/host.hbs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@
112112
</a>
113113
</td>
114114
<td {{bindAttr class="view.hasNoComponents:not-active-link :host-table-components"}}>
115-
<a href="#" class="black" {{action displayComponents target="view"}}>
116-
{{view.content.hostComponents.length}} {{pluralize view.content.hostComponents.length singular="t:common.component" plural="t:common.components"}}
117-
</a>
115+
<span href="#" class="black" {{action displayComponents target="view"}}>
116+
{{view.content.hostComponents.length}}
117+
</span>
118118
</td>
119119
{{/view}}
120120
{{/each}}

ambari-web/app/templates/main/host/host_alerts.hbs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,6 @@
3232
{{view view.parentView.statusSort class="status-sorting"}}
3333
{{view view.parentView.textSort class="text-sorting"}}
3434
{{/view}}
35-
<tr class="filter-row">
36-
<th class="first">{{view view.serviceFilterView class="service-filter"}}</th>
37-
<th>{{view view.nameFilterView class="name-filter"}}</th>
38-
<th>{{view view.stateFilterView class="status-filter"}}</th>
39-
<th>{{view view.textView class="text-filter"}}</th>
40-
</tr>
4135
</thead>
4236
<tbody>
4337
{{#if view.pageContent}}

ambari-web/app/views/main/host/menu.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,6 @@ App.MainHostMenuView = Em.CollectionView.extend({
4545
badgeClasses: 'label',
4646
id: 'host-details-summary-alerts'
4747
}),
48-
Em.Object.create({
49-
name: 'versions',
50-
label: Em.I18n.t('hosts.host.menu.stackVersions'),
51-
routing: 'stackVersions',
52-
hidden: !App.get('stackVersionsAvailable'),
53-
id: 'host-details-summary-version'
54-
}),
5548
Em.Object.create({
5649
name: 'logs',
5750
label: Em.I18n.t('hosts.host.menu.logs'),

ambari-web/app/views/main/service/info/menu.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ App.MainServiceInfoMenuView = Em.CollectionView.extend({
3131
}
3232
];
3333

34-
if (this.get('heatmapTab')) {
35-
menuItems.push({
36-
label: Em.I18n.t('services.service.info.menu.heatmaps'),
37-
id: 'heatmap-service-tab',
38-
routing: 'heatmaps'
39-
});
40-
}
34+
// if (this.get('heatmapTab')) {
35+
// menuItems.push({
36+
// label: Em.I18n.t('services.service.info.menu.heatmaps'),
37+
// id: 'heatmap-service-tab',
38+
// routing: 'heatmaps'
39+
// });
40+
// }
4141
if (this.get('configTab')) {
4242
menuItems.push({
4343
label: Em.I18n.t('services.service.info.menu.configs'),

0 commit comments

Comments
 (0)