[ARVADOS-WORKBENCH2] updated: 1.1.4-294-gec802ab
Git user
git at public.curoverse.com
Mon Jul 16 05:57:46 EDT 2018
Summary of changes:
src/components/details-panel-factory/items/process-item.tsx | 5 +++--
src/components/details-panel-factory/items/project-item.tsx | 3 ++-
2 files changed, 5 insertions(+), 3 deletions(-)
via ec802abaf641d5c0d6c0fda6893d0c3126e3cb65 (commit)
from 06a7999b4f97b0ba5e7db1739f5a9531df724b86 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit ec802abaf641d5c0d6c0fda6893d0c3126e3cb65
Author: Janicki Artur <artur.janicki at contractors.roche.com>
Date: Wed Jul 11 15:15:49 2018 +0200
modify items for details panel
Feature #13764
Arvados-DCO-1.1-Signed-off-by: Janicki Artur <artur.janicki at contractors.roche.com>
diff --git a/src/components/details-panel-factory/items/process-item.tsx b/src/components/details-panel-factory/items/process-item.tsx
index add8563..efc3ee7 100644
--- a/src/components/details-panel-factory/items/process-item.tsx
+++ b/src/components/details-panel-factory/items/process-item.tsx
@@ -3,12 +3,13 @@
// SPDX-License-Identifier: AGPL-3.0
import * as React from 'react';
-import IconBase, { IconTypes } from '../../icon/icon';
+import { IconTypes } from '../../icon/icon';
import Attribute from '../../attribute/attribute';
import AbstractItem from './abstract-item';
import { ProcessResource } from '../../../models/process';
import { formatDate } from '../../../common/formatters';
import { ResourceKind } from '../../../models/resource';
+import { resourceLabel } from '../../../common/labels';
export default class ProcessItem extends AbstractItem<ProcessResource> {
@@ -18,7 +19,7 @@ export default class ProcessItem extends AbstractItem<ProcessResource> {
buildDetails(): React.ReactElement<any> {
return <div>
- <Attribute label='Type' value={ResourceKind.Process} />
+ <Attribute label='Type' value={resourceLabel(ResourceKind.Process)} />
<Attribute label='Size' value='---' />
<Attribute label='Owner' value={this.item.ownerUuid} />
diff --git a/src/components/details-panel-factory/items/project-item.tsx b/src/components/details-panel-factory/items/project-item.tsx
index 5094bec..eb4698e 100644
--- a/src/components/details-panel-factory/items/project-item.tsx
+++ b/src/components/details-panel-factory/items/project-item.tsx
@@ -9,6 +9,7 @@ import AbstractItem from './abstract-item';
import { ProjectResource } from '../../../models/project';
import { formatDate } from '../../../common/formatters';
import { ResourceKind } from '../../../models/resource';
+import { resourceLabel } from '../../../common/labels';
export default class ProjectItem extends AbstractItem<ProjectResource> {
@@ -18,7 +19,7 @@ export default class ProjectItem extends AbstractItem<ProjectResource> {
buildDetails(): React.ReactElement<any> {
return <div>
- <Attribute label='Type' value={ResourceKind.Collection} />
+ <Attribute label='Type' value={resourceLabel(ResourceKind.Project)} />
{/* Missing attr */}
<Attribute label='Size' value='---' />
<Attribute label='Owner' value={this.item.ownerUuid} />
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list