Project

General

Profile

Download (362 Bytes) Statistics
| Branch: | Tag: | Revision:

foreman-docker / app / overrides / rename_virtual_machines_containers.rb @ 04b6e05e

1
Deface::Override.new(
2
  :virtual_path => 'compute_resources/show',
3
  :name => 'rename_virtual_machines_containers',
4
  :replace => "erb[loud]:contains('Virtual Machines')",
5
  :text => "<%= if @compute_resource.type == 'ForemanDocker::Docker'
6
                  _('Containers')
7
                else
8
                  _('Virtual Machines')
9
                end %>"
10
)