foreman_docker 2.1.0 → 2.1.1

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: dc562486af7545e9340afe42f3742eae15811824
4
- data.tar.gz: f538d659b2bec681e978a943de4a19fb4c9259c1
3
+ metadata.gz: ca765fa935bb364c2d3f7fbb17fd066eeed01a8f
4
+ data.tar.gz: d488dee47746e6805e40ed8e84d4fadc2d75a84e
5
5
  SHA512:
6
- metadata.gz: 305bcea8f11eb23bb65ffb2969696fc8d0e08319d433677747413a088cd688e142fd7dfda8c31547cf194b5166b15358254f5eff0b262b722ace97e0baa1213a
7
- data.tar.gz: 1d886a2caa3a372445c8d5c5f1e554c0456f183701387928930b95dd9a4c143fa2da9994b65b4e9d00c808f6cc1b35fbfa4476e25f62a769df9768de5e086f53
6
+ metadata.gz: c9b6bf889814e3b29f09b3ae11fb263a08ccdfa8e468eff22daec5c164b2f89e120fc05d732865926ae11a397406bca4bab2d49844b9461c042be7b303ffb5fa
7
+ data.tar.gz: 934ba8ca1909f47ed825ad23f8e984d01a5827f538eb41b84e7ec379df3bd2f94a7f93828ba731aaba900ced7e59843b49d001a0f05a2be3e9eb3fdc61d6346b
@@ -1,6 +1,8 @@
1
1
  <% title _("Containers") %>
2
2
 
3
- <%= title_actions(new_link(_("New container"))) %>
3
+ <%= title_actions(display_link_if_authorized(
4
+ _('New container'),
5
+ hash_for_new_container_path)) %>
4
6
 
5
7
  <ul class="nav nav-tabs" data-tabs="tabs">
6
8
  <% @container_resources.each_with_index do |resource, i| %>
@@ -1,6 +1,8 @@
1
1
  <% title _("Registries") %>
2
2
 
3
- <%= title_actions(new_link(_("New registry"))) %>
3
+ <%= title_actions(display_link_if_authorized(
4
+ _('New registry'),
5
+ hash_for_new_registry_path)) %>
4
6
 
5
7
  <table class="table table-bordered table-striped table-condensed" data-table="inline">
6
8
  </thead>
@@ -1,3 +1,3 @@
1
1
  module ForemanDocker
2
- VERSION = '2.1.0'
2
+ VERSION = '2.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_docker
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Lobato, Amos Benari