bullet_train-themes-light 1.6.21 → 1.6.23

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
  SHA256:
3
- metadata.gz: a4e2cbb5d6d46e52703ce771f75e4f426d86496f9866b02785a440bee0aab600
4
- data.tar.gz: 2de36147c58718041183b2795e416326e0c06a97eacc2dee1880b6c43b31c1c3
3
+ metadata.gz: e125f72f11f7f443f642b8170cc3912c5223ba880a7874e80cd8dbe2f0fb11f1
4
+ data.tar.gz: 2f90899e6cabc088c83a504741e5f787fd60b6b3c26454a29fec92a2577a8a46
5
5
  SHA512:
6
- metadata.gz: 72ab8724a5c1f6f68a86026f95a77b6e5fba35b5020426e65c5ed4f152d592cce138a1250f256069729f6f224d929838547dbe9ecadb6bf5fc140990768acc31
7
- data.tar.gz: a8d943bf4c40a0a008ac828503909e352b7f6ba21f52f49b1254a043f69132054b818bdbefea1b1e7816e0615ef40180492e374da06cb2d1895626344b758c75
6
+ metadata.gz: 96b042a9e993f5187b27a74b43f3cf263ef119bc0a41257c166795d4e557857421b2a0a0532f55afb5f9234840ddfa1e24fa026a1f55b15095175ce0713bf263
7
+ data.tar.gz: 69e49dc221287db9ec487d8277696fd5df249c4cccc7208a9c33f030652a524ae1ec72d9b9c218a7e6b8eb7fd0dc24a3d95fdf7def149dfa7442580047708d88
@@ -22,9 +22,9 @@
22
22
  <% if can? :read, action %>
23
23
  <%= link_to t("#{action.class.name.pluralize.underscore}.buttons.shorthand.show"), build_action_model_path(action), class: 'button-secondary button-smaller' %>
24
24
  <% end %>
25
- <% if can? :edit, action %>
25
+ <% if can?(:edit, action) && !action.started? %>
26
26
  <%= link_to t("#{action.class.name.pluralize.underscore}.buttons.shorthand.edit"), build_action_model_path(action, type: :edit), class: 'button-secondary button-smaller' %>
27
- <% end unless action.started_at # TODO This is the wrong way to do this, we need to do this in `roles.yml` when we can. %>
27
+ <% end %>
28
28
  <% if can? :destroy, action %>
29
29
  <%= button_to t("#{action.class.name.pluralize.underscore}.buttons.shorthand.destroy"), build_action_model_path(action), method: :delete, data: { confirm: t("#{action.class.name.pluralize.underscore}.buttons.confirmations.destroy", model_locales(action)) }, class: 'button-secondary button-smaller' %>
30
30
  <% end %>
@@ -1,7 +1,7 @@
1
1
  module BulletTrain
2
2
  module Themes
3
3
  module Light
4
- VERSION = "1.6.21"
4
+ VERSION = "1.6.23"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train-themes-light
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.21
4
+ version: 1.6.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-04 00:00:00.000000000 Z
11
+ date: 2023-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard