Commit 056c7435 authored by Matija Obreza's avatar Matija Obreza

Inventory: Reorganized form fields

parent bf8a51ab
......@@ -171,10 +171,10 @@ class InventoryDetailsPage extends React.Component<IDetailsPageProps> {
<CardActions>
<ButtonBar>
<Button variant="contained" color="primary">Test</Button>
<Button onClick={ this.handleEdit } variant="contained" color="secondary">Edit</Button>
<Button onClick={ this.handleRemove } variant="outlined" color="secondary">Remove</Button>
<Button variant="text" color="secondary">Do something</Button>
{/* <Button variant="contained" color="primary">Test</Button> */}
<Button onClick={ this.handleEdit } variant="contained" color="primary">Edit</Button>
<Button onClick={ this.handleRemove } variant="text" color="secondary">Remove</Button>
{/* <Button variant="text" color="secondary">Do something</Button> */}
</ButtonBar>
</CardActions>
......
......@@ -27,6 +27,7 @@ import PageTitle from '@gringlobal/client/ui/common/PageTitle';
import AuditDataDisplay from 'common/AuditDataDisplay';
import EditGroupDialog from 'inventorygroup/ui/c/EditGroupDialog';
import confirm from '@gringlobal/client/utilities/confirmAlert';
import Narrative from '@gringlobal/client/ui/common/Narrative';
interface IDetailsPageProps extends React.ClassAttributes<any>, WithTranslation {
......@@ -223,7 +224,7 @@ class InventoryDetailsPage extends React.Component<IDetailsPageProps> {
/>
<CardContent>
{ inventoryGroup.note && <p>{ inventoryGroup.note }</p> }
{ inventoryGroup.note && <Narrative>{ inventoryGroup.note }</Narrative> }
<Properties>
<PropertiesItem title={ t(['client:model.AccessionInvGroup.isWebVisible', 'client:model._.isWebVisible']) }>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment