bullet_train-themes-light 1.0.41 → 1.0.42

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: 2ebc63a09541e262fdafb99a99650b178d8138c56835daf1a4deb99a71aef920
4
- data.tar.gz: 989ac02949b28c05a0c96f5d35accfe71e98ff0f279bee7f7e176ce62e4d5260
3
+ metadata.gz: 247e0645849fc300b51cd946e428ad6082abe86ec9e1ed4927c5e7f2e404aa64
4
+ data.tar.gz: 794a0ac9cef5249ef03d8f81a63cbeb4f5dc0b1be5aced96ed7488a40f8afe3a
5
5
  SHA512:
6
- metadata.gz: 1f56c7c45903b51d0e641cec382029e19571871b04dba2b6bc303f2fc5a7e8cd2b6cf1f787e4ff283ed80326e1f33413b505eb066e59bf431b3966a4d00dbc81
7
- data.tar.gz: 1c17ad1f2db8d6266d75d93e0b86c1ed1394185255468dfc185869dcc0f34f3873dfbe743a003ef869b446194873f864bff570b10d99baa53276a4b2b6b40efd
6
+ metadata.gz: f7ea23ccfde6dc78b949db78a5c4a8438cb1507693ae0a5222f4b95bff7bc764fe3bc16daf6adf5596c1ae941ef071991fbfbeba3695a89a38d7c15afb836eb0
7
+ data.tar.gz: d0966f407fa9d8dd42486f5dbf2300aa959d73864ce3a87d1e5406d6c599c173225ca1feea29790dc615826a616291e781888a09646082d449395bbd66ed0873
@@ -1,25 +1,33 @@
1
1
  <% yield p = np %>
2
2
 
3
- <div class="border border-gray-300 dark:border-opacity-10 rounded-md py-4 px-5 bg-gray-50 dark:bg-opacity-10 space-y">
4
- <% if p.content_for?(:title) || p.content_for?(:description) %>
5
- <div class="space-y-2">
6
- <% if p.content_for? :title %>
7
- <h2 class="text-base font-semibold">
8
- <%= p.content_for :title %>
9
- </h2>
3
+ <div class="border border-gray-300 dark:border-opacity-10 rounded-md bg-gray-50 dark:bg-opacity-10">
4
+ <% if p.content_for?(:title) || p.content_for?(:description) || p.content_for?(:body) %>
5
+ <div class="py-4 px-5 space-y">
6
+ <% if p.content_for?(:title) || p.content_for?(:description) %>
7
+ <div class="space-y-2">
8
+ <% if p.content_for? :title %>
9
+ <h2 class="text-base font-semibold">
10
+ <%= p.content_for :title %>
11
+ </h2>
12
+ <% end %>
13
+
14
+ <% if p.content_for? :description %>
15
+ <p class="text-gray-400 font-light leading-normal">
16
+ <%= p.content_for :description %>
17
+ </p>
18
+ <% end %>
19
+ </div>
10
20
  <% end %>
11
21
 
12
- <% if p.content_for? :description %>
13
- <p class="text-gray-400 font-light leading-normal">
14
- <%= p.content_for :description %>
15
- </p>
22
+ <% if p.content_for? :body %>
23
+ <div class="space-y">
24
+ <%= p.content_for :body %>
25
+ </div>
16
26
  <% end %>
17
27
  </div>
18
28
  <% end %>
19
29
 
20
- <% if p.content_for? :body %>
21
- <div class="space-y">
22
- <%= p.content_for :body %>
23
- </div>
24
- <% end %>
30
+ <div>
31
+ <%= p.content_for :raw_body %>
32
+ </div>
25
33
  </div>
@@ -17,7 +17,7 @@
17
17
  <div class="flex-0">
18
18
  <%= p.yield :actions if p.content_for? :actions %>
19
19
  <% if action.is_a?(Actions::RequiresApproval) %>
20
- <% if can? :approve, action %>
20
+ <% if !action.approved? && can?(:approve, action) %>
21
21
  <%= button_to t("#{action.class.name.pluralize.underscore}.buttons.shorthand.approve"), [:approve, :account, action], method: :post, class: 'button-secondary button-smaller' %>
22
22
  <% end %>
23
23
  <% end %>
@@ -1,7 +1,7 @@
1
1
  module BulletTrain
2
2
  module Themes
3
3
  module Light
4
- VERSION = "1.0.41"
4
+ VERSION = "1.0.42"
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.0.41
4
+ version: 1.0.42
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-15 00:00:00.000000000 Z
11
+ date: 2022-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard
@@ -149,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
149
  - !ruby/object:Gem::Version
150
150
  version: '0'
151
151
  requirements: []
152
- rubygems_version: 3.2.22
152
+ rubygems_version: 3.3.7
153
153
  signing_key:
154
154
  specification_version: 4
155
155
  summary: 'Bullet Train Themes: Light'