foreman_datacenter 0.1.12 → 0.1.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c8b5541a96683ab9211c45518781163a82b54664
4
- data.tar.gz: a57578a338a0148fec63174f7bb07384ccd964cf
3
+ metadata.gz: 849351f650ad4c2513970b6b17e13ea6ac73b5a3
4
+ data.tar.gz: bbad7a0ac336ab434e52ec58e02fa9c7fc348b2b
5
5
  SHA512:
6
- metadata.gz: 932d6c55900349935ca0e2a5c093b4be925cbd1d0b386b9629776e686437c10815151ce252c0b2a30f0fcf66ea20d541748ceac8cc8c22cc65382a7be82f5ccb
7
- data.tar.gz: 2efb5da9071236d366776388a709c20058fc91cb97bbdd3fe09f8c0d88340678bc7e1f0044a476631f880e7251afb123bce0a1e0e4071c82cc31b4feea17e457
6
+ metadata.gz: 2256af34aea744ac4864d135d1bcd26ddf3f9a231725ee665bd0da7ac821806b6bbc6258a69e17b67cfe813cf2eb81df6c4f710bc9b54281c75fc34b92845fb9
7
+ data.tar.gz: b2506c66f219ff9d3ca0ad9e7f37adb497ae0476526099e232c22fb0d0197dad7b1cddd8340a4cf12eab8f683ea7daf6c178f005ef0b0348439e697ec4e742c8
@@ -9,7 +9,7 @@ module ForemanDatacenter
9
9
  end
10
10
 
11
11
  def update_device_on_destroy
12
- if device
12
+ if device
13
13
  new_device_name = "Unassigned device (former: #{name})"
14
14
  device.update(name: new_device_name)
15
15
  # device.interfaces.clear
@@ -1,5 +1,6 @@
1
1
  <% title _('Device Roles') %>
2
- <% title_actions display_link_if_authorized(_('New device role'), hash_for_new_device_role_path, class: 'btn btn-success'), help_path %>
2
+ <%# title_actions display_link_if_authorized(_('New device role'), hash_for_new_device_role_path, class: 'btn btn-success'), help_path %>
3
+ <% title_actions display_link_if_authorized(_('New device role'), hash_for_new_device_role_path, class: 'btn btn-success') %>
3
4
 
4
5
  <table class="table table-bordered table-striped table-two-pane">
5
6
  <thead>
@@ -1,5 +1,6 @@
1
1
  <% title _('Device Types') %>
2
- <% title_actions display_link_if_authorized(_('New device type'), hash_for_new_device_type_path, class: 'btn btn-success'), help_path %>
2
+ <%# title_actions display_link_if_authorized(_('New device type'), hash_for_new_device_type_path, class: 'btn btn-success'), help_path %>
3
+ <% title_actions display_link_if_authorized(_('New device type'), hash_for_new_device_type_path, class: 'btn btn-success') %>
3
4
 
4
5
  <table class="table table-bordered table-striped table-two-pane">
5
6
  <thead>
@@ -1,5 +1,6 @@
1
1
  <% title _('Manufacturers') %>
2
- <% title_actions display_link_if_authorized(_('New manufacturer'), hash_for_new_manufacturer_path, class: 'btn btn-success'), help_path %>
2
+ <%# title_actions display_link_if_authorized(_('New manufacturer'), hash_for_new_manufacturer_path, class: 'btn btn-success'), help_path %>
3
+ <% title_actions display_link_if_authorized(_('New manufacturer'), hash_for_new_manufacturer_path, class: 'btn btn-success') %>
3
4
 
4
5
  <table class="table table-bordered table-striped table-two-pane">
5
6
  <thead>
@@ -1,5 +1,6 @@
1
1
  <% title _('Platforms') %>
2
- <% title_actions display_link_if_authorized(_('New Platform'), hash_for_new_platform_path, class: 'btn btn-success'), help_path %>
2
+ <%# title_actions display_link_if_authorized(_('New Platform'), hash_for_new_platform_path, class: 'btn btn-success'), help_path %>
3
+ <% title_actions display_link_if_authorized(_('New Platform'), hash_for_new_platform_path, class: 'btn btn-success') %>
3
4
 
4
5
  <table class="table table-bordered table-striped table-two-pane">
5
6
  <thead>
@@ -1,5 +1,6 @@
1
1
  <% title _("Rack Groups") %>
2
- <% title_actions display_link_if_authorized(_("New Rack Group"), hash_for_new_rack_group_path, class: 'btn btn-success'), help_path %>
2
+ <%# title_actions display_link_if_authorized(_("New Rack Group"), hash_for_new_rack_group_path, class: 'btn btn-success'), help_path %>
3
+ <% title_actions display_link_if_authorized(_("New Rack Group"), hash_for_new_rack_group_path, class: 'btn btn-success') %>
3
4
 
4
5
  <table class="table table-bordered table-striped table-two-pane">
5
6
  <thead>
@@ -1,7 +1,8 @@
1
1
  <% javascript 'foreman_datacenter/racks' %>
2
2
 
3
3
  <% title _("Racks") %>
4
- <% title_actions display_link_if_authorized(_("New Rack"), hash_for_new_rack_path, class: 'btn btn-success'), help_path %>
4
+ <%# title_actions display_link_if_authorized(_("New Rack"), hash_for_new_rack_path, class: 'btn btn-success'), help_path %>
5
+ <% title_actions display_link_if_authorized(_("New Rack"), hash_for_new_rack_path, class: 'btn btn-success') %>
5
6
 
6
7
  <table class="table table-bordered table-striped table-two-pane">
7
8
  <thead>
@@ -1,5 +1,6 @@
1
1
  <% title _("Sites") %>
2
- <% title_actions display_link_if_authorized(_("New Site"), hash_for_new_site_path, class: 'btn btn-success'), help_path %>
2
+ <%# title_actions display_link_if_authorized(_("New Site"), hash_for_new_site_path, class: 'btn btn-success'), help_path %>
3
+ <% title_actions display_link_if_authorized(_("New Site"), hash_for_new_site_path, class: 'btn btn-success') %>
3
4
 
4
5
  <table class="table table-bordered table-striped table-two-pane">
5
6
  <thead>
@@ -1,3 +1,3 @@
1
1
  module ForemanDatacenter
2
- VERSION = '0.1.12'.freeze
2
+ VERSION = '0.1.13'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_datacenter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Ivanov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-13 00:00:00.000000000 Z
11
+ date: 2017-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deface