Revision 387babdd
Added by Daniel Lobato Garcia over 8 years ago
app/helpers/containers_helper.rb | ||
---|---|---|
33 | 33 |
@compute_resource = container.compute_resource |
34 | 34 |
title_actions( |
35 | 35 |
button_group( |
36 |
link_to_if_authorized(_("Commit"), hash_for_container_path(:id => container) |
|
37 |
.merge(:auth_object => container, |
|
38 |
:permission => 'commit_containers'), |
|
39 |
:title => _('Saves differences between image' \ |
|
40 |
'and current state of container' \ |
|
41 |
'as a new image')) |
|
36 |
link_to(_('Commit'), '#commit-modal', :'data-toggle' => 'modal') |
|
42 | 37 |
), |
43 | 38 |
button_group(vm_power_action(container.in_fog)), |
44 | 39 |
button_group( |
Also available in: Unified diff
Fixes #8035: Commit container changes