@@ -513,6 +513,8 @@ var messages = {
|
||||
tipCreateSnapshotLabel: 'Just click on the snapshot button to create one!',
|
||||
revertSnapshot: 'Revert VM to this snapshot',
|
||||
deleteSnapshot: 'Remove this snapshot',
|
||||
copySnapshot: 'Create a VM from this snapshot',
|
||||
exportSnapshot: 'Export this snapshot',
|
||||
snapshotDate: 'Creation date',
|
||||
snapshotName: 'Name',
|
||||
snapshotAction: 'Action',
|
||||
|
||||
@@ -15,7 +15,9 @@ import {
|
||||
createGetObjectsOfType
|
||||
} from 'selectors'
|
||||
import {
|
||||
copyVm,
|
||||
deleteVm,
|
||||
exportVm,
|
||||
editVm,
|
||||
revertSnapshot,
|
||||
snapshotVm
|
||||
@@ -72,6 +74,22 @@ export default class TabSnapshot extends Component {
|
||||
</td>
|
||||
<td>
|
||||
<ButtonGroup>
|
||||
<Tooltip content={_('copySnapshot')}>
|
||||
<ActionRowButton
|
||||
btnStyle='primary'
|
||||
handler={copyVm}
|
||||
handlerParam={snapshot}
|
||||
icon='vm-copy'
|
||||
/>
|
||||
</Tooltip>
|
||||
<Tooltip content={_('exportSnapshot')}>
|
||||
<ActionRowButton
|
||||
btnStyle='primary'
|
||||
handler={exportVm}
|
||||
handlerParam={snapshot}
|
||||
icon='vm-export'
|
||||
/>
|
||||
</Tooltip>
|
||||
<Tooltip content={_('revertSnapshot')}>
|
||||
<ActionRowButton
|
||||
btnStyle='warning'
|
||||
|
||||
Reference in New Issue
Block a user