effective_products 0.0.9 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/concerns/effective_products_stamp_wizard.rb +1 -1
- data/app/views/effective/ring_wizards/_content.html.haml +2 -2
- data/app/views/effective/stamp_wizards/_content.html.haml +2 -2
- data/app/views/effective/stamp_wizards/_dashboard.html.haml +10 -8
- data/app/views/effective/stamp_wizards/start.html.haml +1 -1
- data/lib/effective_products/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71749ac4354aa808c63c7400a6488b93222d840597eb2c845cbf91fd716d7626
|
4
|
+
data.tar.gz: 0b03925757372551acb5ed7d0cf403f777f399b6ba4124ea65a387ce570e03b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1939852347cbaa992d8563e6518c998af279b3fd69f6dd6287b2e9c076002419a6cef6e1245098c4e20e9846759c69c69eb6ff34ac8953b048dc69c28fc3b514
|
7
|
+
data.tar.gz: afa4d7b300e9c2aba2d67e65eb2dc0c7a7b6a58b28073cc2818058552c0c345f84e1ec32b332d18f16e525c06d5b52cad070d84696782a3ccb3a0fcc638ef285
|
@@ -1,27 +1,29 @@
|
|
1
|
-
-# In progress
|
1
|
+
-# In progress
|
2
2
|
- existing = EffectiveProducts.StampWizard.in_progress.for(current_user).first
|
3
3
|
- datatable = EffectiveResources.best('EffectiveStampWizardsDatatable').new(self, namespace: :effective)
|
4
4
|
|
5
5
|
- if existing.present?
|
6
|
-
%h2 In Progress Stamp
|
6
|
+
%h2 In Progress Stamp Requests
|
7
7
|
|
8
|
-
%p Your
|
8
|
+
%p Your request for Professional Stamp is incomplete
|
9
9
|
|
10
10
|
%p
|
11
11
|
Please
|
12
|
-
= link_to("Continue
|
12
|
+
= link_to("Continue #{existing}", effective_products.stamp_wizard_build_path(existing, existing.next_step), 'data-turbolinks' => false, class: 'btn btn-primary')
|
13
13
|
or you can
|
14
|
-
= link_to('Abandon
|
14
|
+
= link_to('Abandon', effective_products.stamp_wizard_path(existing), 'data-confirm': "Really delete #{existing}?", 'data-method': :delete, class: 'btn btn-danger')
|
15
15
|
to start over.
|
16
16
|
|
17
17
|
%hr
|
18
18
|
|
19
|
-
%h2 Stamp
|
19
|
+
%h2 Stamp Replacement Requests
|
20
|
+
|
21
|
+
= yield
|
20
22
|
|
21
23
|
- if datatable.present?
|
22
24
|
= render_simple_datatable(datatable)
|
23
25
|
- else
|
24
|
-
%p You have no past stamp
|
26
|
+
%p You have no past professional stamp replacement requests. When you do, we'll show them here.
|
25
27
|
|
26
28
|
- if existing.blank?
|
27
|
-
%p= link_to '
|
29
|
+
%p= link_to 'Start Stamp Replacement Request', effective_products.new_stamp_wizard_path, class: 'btn btn-primary'
|
@@ -5,7 +5,7 @@
|
|
5
5
|
.card-body
|
6
6
|
%p Welcome #{current_user}!
|
7
7
|
|
8
|
-
%p You are about to
|
8
|
+
%p You are about to request a replacement Professional Stamp.
|
9
9
|
|
10
10
|
= effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f|
|
11
11
|
= f.hidden_field :id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_products
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|