spree_cm_commissioner 1.9.0 → 1.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6aa3cfdf9976b9d40fa5c53533193d93ea1503b79b288c926e5efe8f371db0b5
4
- data.tar.gz: f77a64037130b4d871c346534131a3fa664f5fb7cb344834b730e9a1c02e2177
3
+ metadata.gz: 73ad85e21fa2bb3871f603f4a008ff25129a98c85a6668d4438d03d6b55f8199
4
+ data.tar.gz: ca6a0e538f67785e1107581f113902c06a3b4fc574bcb2f06ffa8fd5e21634f4
5
5
  SHA512:
6
- metadata.gz: 7296a57cfe2b468ff16941f59f8fe744157721df84d05532ee618a4736b5db2c7802975145a607d825b42ea009d460b114479a81e8009c2c5b1a359a7d576902
7
- data.tar.gz: 6c8a2a04159368014afdbd2203281f647f2b054281ef1044817967d0e108517e9ddccc0fa04f42aec25ba6af9e24eef7b00f4c253a5d301cb53f145307ebd8fa
6
+ metadata.gz: ca2f0a03b73d7a454c208160f29cf86e104b922fb2c21c0dcf7587218254c96975fd82ee730a5c2366e53cd51ca518b5634f8656ce53c9564b2d41b4be9dfd09
7
+ data.tar.gz: 1f867b970c5a0027ac18efe81656af73ceb4ef5ad8823cd43b1cdf5f62c9c7b7343480128fd179541e051a282b5a5a1e0a4e56ccd306e81839a5278aa12cb318
data/Gemfile.lock CHANGED
@@ -34,7 +34,7 @@ GIT
34
34
  PATH
35
35
  remote: .
36
36
  specs:
37
- spree_cm_commissioner (1.9.0)
37
+ spree_cm_commissioner (1.9.1)
38
38
  activerecord-multi-tenant
39
39
  activerecord_json_validator (~> 2.1, >= 2.1.3)
40
40
  aws-sdk-cloudfront
@@ -5,7 +5,7 @@ module SpreeCmCommissioner
5
5
  def send_crew_invite_email(invite_user_event_id)
6
6
  @invite_user_event = SpreeCmCommissioner::InviteUserEvent.find(invite_user_event_id)
7
7
 
8
- subject = Spree::Store.default.name.to_s
8
+ subject = I18n.t('mail.crew_invite_mailer.subject', event_name: @invite_user_event.invite.taxon.name)
9
9
 
10
10
  mail(from: from_address, to: @invite_user_event.email, subject: subject)
11
11
  end
@@ -177,6 +177,10 @@ module SpreeCmCommissioner
177
177
  def generate_code
178
178
  self.code = (code.presence || name[0, 3].upcase)
179
179
  end
180
+
181
+ def organizer_url
182
+ "#{Spree::Store.default.formatted_url}/organizers/#{slug}"
183
+ end
180
184
  end
181
185
  end
182
186
 
@@ -17,17 +17,11 @@
17
17
  padding-bottom: 25px;
18
18
  }
19
19
 
20
- .logo {
21
- display: block;
22
- width: 150px;
23
- margin-top: 10px;
24
- margin-bottom: 20px;
25
- }
26
-
27
20
  .heading-1 {
28
21
  font-size: 24px;
29
22
  text-align: center;
30
23
  line-height: 1.4;
24
+ margin-top: 10px;
31
25
  margin-bottom: 15px;
32
26
  }
33
27
 
@@ -76,6 +70,7 @@
76
70
  .heading-3 {
77
71
  font-size: 12px;
78
72
  text-align: center;
73
+ margin-bottom: 15px;
79
74
  color: #888;
80
75
  }
81
76
  </style>
@@ -5,13 +5,15 @@
5
5
  <div class="bar-large"></div>
6
6
  <div class="main-content">
7
7
  <div class="content">
8
- <div><%= image_tag "mailer/bookme-plus_light.svg", class: "logo" %></div>
8
+ <div>
9
+ <%= image_tag(main_app.rails_blob_url(Spree::StoreLogo.first.attachment), style: "width: 120px; height: 120px;") %>
10
+ </div>
9
11
  <div class="heading-1">
10
12
  Become a part of the <br> event <strong> <%= @invite_user_event.invite.taxon.name %> </strong>
11
13
  </div>
12
14
  <div class="bar-thin"></div>
13
15
  <div class="heading-2">
14
- <%= @invite_user_event.invite.inviter.full_name.presence || @invite_user_event.inviter.email %> invites you to join the <br>
16
+ <%= @invite_user_event.invite.inviter.full_name.presence || @invite_user_event.invite.inviter.email %> invites you to join the <br>
15
17
  <span class="title-bold">Check-in Crew</span> for the event <br>
16
18
  <%= @invite_user_event.invite.taxon.name %>
17
19
  </div>
@@ -20,8 +22,13 @@
20
22
  Get Started
21
23
  </a>
22
24
  </div>
25
+
26
+ <div class="heading-3">
27
+ Use this email <%= @invite_user_event.email %> to log in or <br>create an account on BookMe+ Platform
28
+ </div>
29
+
23
30
  <div class="heading-3">
24
- Please note that this invitation will expire<br>
31
+ This invitation will expire<br>
25
32
  in <%= ((@invite_user_event.invite.expires_at - Time.current) / 1.hour).round %> hours.
26
33
  </div>
27
34
  </div>
@@ -480,6 +480,9 @@ en:
480
480
  bookmeplus_support: "BookMe+ Support"
481
481
  info_notice: "Information Notice"
482
482
  booking_details: "Booking Details"
483
+ crew_invite_mailer:
484
+ subject: "You're Invited to Join the Check-In Crew for %{event_name}!"
485
+
483
486
  invoice:
484
487
  empty_info: "<b>Invoice</b> not create yet"
485
488
  device_token:
@@ -1,5 +1,5 @@
1
1
  module SpreeCmCommissioner
2
- VERSION = '1.9.0'.freeze
2
+ VERSION = '1.9.1'.freeze
3
3
 
4
4
  module_function
5
5
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_cm_commissioner
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - You
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-22 00:00:00.000000000 Z
11
+ date: 2025-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spree