ama_layout 5.12.0 → 6.3.0.pre
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 +4 -4
- data/.travis.yml +0 -2
- data/ama_layout.gemspec +20 -21
- data/app/assets/javascripts/ama_layout/desktop/foundation-custom.js +8 -10
- data/app/assets/javascripts/ama_layout/desktop/index.js +0 -1
- data/app/helpers/ama_layout_path_helper.rb +5 -5
- data/app/views/ama_layout/_siteheader.html.erb +3 -8
- data/lib/ama_layout.rb +20 -28
- data/lib/ama_layout/decorators/moneris_decorator.rb +2 -3
- data/lib/ama_layout/decorators/navigation_decorator.rb +6 -52
- data/lib/ama_layout/decorators/navigation_item_decorator.rb +2 -3
- data/lib/ama_layout/moneris.rb +1 -4
- data/lib/ama_layout/navigation.rb +1 -7
- data/lib/ama_layout/navigation.yml +6 -58
- data/lib/ama_layout/navigation_item.rb +1 -4
- data/lib/ama_layout/version.rb +1 -1
- data/spec/ama_layout/decorators/navigation_decorator_spec.rb +8 -124
- data/spec/ama_layout/decorators/navigation_item_decorator_spec.rb +4 -2
- data/spec/ama_layout/navigation_spec.rb +43 -13
- data/spec/helpers/ama_layout_path_helper_spec.rb +6 -6
- data/spec/internal/app/controllers/application_controller.rb +0 -21
- data/spec/internal/config/routes.rb +0 -1
- data/spec/spec_helper.rb +16 -9
- data/styles.scss +0 -0
- metadata +41 -79
- data/PULL_REQUEST_TEMPLATE.md +0 -10
- data/app/assets/javascripts/ama_layout/notifications.coffee +0 -17
- data/app/controllers/ama_layout/api/v1/notifications_controller.rb +0 -18
- data/app/views/ama_layout/_notification.html.erb +0 -10
- data/app/views/ama_layout/_notification_sidebar.html.erb +0 -22
- data/app/views/ama_layout/_notifications.html.erb +0 -6
- data/app/views/ama_layout/_sign_out_link.html.erb +0 -3
- data/config/routes.rb +0 -9
- data/lib/ama_layout/decorators/notification_decorator.rb +0 -46
- data/lib/ama_layout/draper_replacement.rb +0 -27
- data/lib/ama_layout/navigation_helper.rb +0 -31
- data/lib/ama_layout/notification.rb +0 -87
- data/lib/ama_layout/notification_scrubber.rb +0 -13
- data/lib/ama_layout/notification_set.rb +0 -140
- data/lib/ama_layout/notifications.rb +0 -73
- data/lib/ama_layout/notifications/abstract_store.rb +0 -17
- data/lib/ama_layout/notifications/redis_store.rb +0 -38
- data/spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb +0 -13
- data/spec/ama_layout/decorators/notification_decorator_spec.rb +0 -57
- data/spec/ama_layout/navigation_helper_spec.rb +0 -63
- data/spec/ama_layout/notification_scrubber_spec.rb +0 -10
- data/spec/ama_layout/notification_set_spec.rb +0 -281
- data/spec/ama_layout/notification_spec.rb +0 -193
- data/spec/ama_layout/notifications/abstract_store_spec.rb +0 -23
- data/spec/ama_layout/notifications/redis_store_spec.rb +0 -94
- data/spec/ama_layout/notifications_spec.rb +0 -109
- data/spec/factories/users.rb +0 -35
- data/spec/support/shared_examples/member_navigation.rb +0 -105
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: deb2b6ac040de520ac3ff4d6e203bf19c1e25f65
|
4
|
+
data.tar.gz: f1ea2726a83942149deff0ba04478c4b443bfccd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9dc341790258bed5cebf3da1f889adab7b2a0fecfd851e412535cd3fff12a9e8d5fb00147352c1f19d66d7d7a78cfacec8fd321a21abbb699bce713125e28def
|
7
|
+
data.tar.gz: 7f0ea969256317b13dc1321f3a45303e38454143d530c4ae92fa66bf4cf431f4777c2083d7ac286200399253a6ac156473a5d9f8f4e1f3698d4774de3b5ac66f
|
data/.travis.yml
CHANGED
data/ama_layout.gemspec
CHANGED
@@ -4,32 +4,31 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
require 'ama_layout/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
|
-
spec.name =
|
7
|
+
spec.name = "ama_layout"
|
8
8
|
spec.version = AmaLayout::VERSION
|
9
|
-
spec.authors = [
|
10
|
-
spec.email = [
|
9
|
+
spec.authors = ["Michael van den Beuken", "Ruben Estevez", "Jordan Babe", "Mathieu Gilbert", "Ryan Jones", "Darko Dosenovic", "Jonathan Weyermann", "Adam Melnyk", "Kayt Campbell", "Kathleen Robertson", "Jesse Doyle"]
|
10
|
+
spec.email = ["michael.beuken@gmail.com", "ruben.a.estevez@gmail.com", "jorbabe@gmail.com", "mathieu.gilbert@ama.ab.ca", "ryan.michael.jones@gmail.com", "darko.dosenovic@ama.ab.ca", "jonathan.weyermann@ama.ab.ca", "adam.melnyk@ama.ab.ca", "kayt.campbell@ama.ab.ca", "kathleen.robertson@ama.ab.ca", "jesse.doyle@ama.ab.ca"]
|
11
11
|
spec.summary = %q{.ama.ab.ca site layouts}
|
12
12
|
spec.description = %q{.ama.ab.ca site layouts}
|
13
|
-
spec.homepage =
|
14
|
-
spec.license =
|
13
|
+
spec.homepage = ""
|
14
|
+
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
17
17
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
-
spec.require_paths = [
|
20
|
-
|
21
|
-
spec.add_dependency
|
22
|
-
spec.add_dependency
|
23
|
-
spec.add_dependency
|
24
|
-
spec.add_dependency
|
25
|
-
spec.add_dependency
|
26
|
-
spec.add_development_dependency
|
27
|
-
spec.add_development_dependency
|
28
|
-
spec.add_development_dependency
|
29
|
-
spec.add_development_dependency
|
30
|
-
spec.add_development_dependency
|
31
|
-
spec.add_development_dependency
|
32
|
-
spec.add_development_dependency
|
33
|
-
spec.add_development_dependency
|
34
|
-
spec.add_development_dependency 'timecop'
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
spec.add_dependency "foundation-rails", "~> 6.3.1.0"
|
21
|
+
spec.add_dependency "rails", ">= 5.0"
|
22
|
+
spec.add_dependency "activemodel-serializers-xml"
|
23
|
+
spec.add_dependency "draper", "3.0.0.pre1"
|
24
|
+
spec.add_dependency "browser", "~> 2.0"
|
25
|
+
spec.add_dependency "breadcrumbs_on_rails", "~> 3.0.1"
|
26
|
+
spec.add_development_dependency "bundler", "~> 1.11"
|
27
|
+
spec.add_development_dependency "rake", "~> 11.0"
|
28
|
+
spec.add_development_dependency "rspec-rails"
|
29
|
+
spec.add_development_dependency "factory_girl"
|
30
|
+
spec.add_development_dependency "simplecov"
|
31
|
+
spec.add_development_dependency "pry"
|
32
|
+
spec.add_development_dependency "combustion"
|
33
|
+
spec.add_development_dependency "sqlite3"
|
35
34
|
end
|
@@ -1,20 +1,10 @@
|
|
1
1
|
//= require foundation.core.js
|
2
|
-
//= require foundation.util.box.js
|
3
|
-
//= require foundation.util.imageLoader.js
|
4
|
-
//= require foundation.util.keyboard.js
|
5
|
-
//= require foundation.util.mediaQuery.js
|
6
|
-
//= require foundation.util.motion.js
|
7
|
-
//= require foundation.util.nest.js
|
8
|
-
//= require foundation.util.timer.js
|
9
|
-
//= require foundation.util.timerAndImageLoader.js
|
10
|
-
//= require foundation.util.triggers.js
|
11
2
|
//= require foundation.abide.js
|
12
3
|
//= require foundation.accordion.js
|
13
4
|
//= require foundation.drilldown.js
|
14
5
|
//= require foundation.dropdown.js
|
15
6
|
//= require foundation.dropdownMenu.js
|
16
7
|
//= require foundation.equalizer.js
|
17
|
-
//= require foundation.interchange.js
|
18
8
|
//= require foundation.offcanvas.js
|
19
9
|
//= require foundation.responsiveMenu.js
|
20
10
|
//= require foundation.responsiveToggle.js
|
@@ -22,3 +12,11 @@
|
|
22
12
|
//= require foundation.tabs.js
|
23
13
|
//= require foundation.toggler.js
|
24
14
|
//= require foundation.tooltip.js
|
15
|
+
//= require foundation.util.box.js
|
16
|
+
//= require foundation.util.keyboard.js
|
17
|
+
//= require foundation.util.mediaQuery.js
|
18
|
+
//= require foundation.util.motion.js
|
19
|
+
//= require foundation.util.nest.js
|
20
|
+
//= require foundation.util.timerAndImageLoader.js
|
21
|
+
//= require foundation.util.triggers.js
|
22
|
+
//= require foundation.interchange.js
|
@@ -6,7 +6,11 @@ module AmaLayoutPathHelper
|
|
6
6
|
def youraccount_dashboard_path
|
7
7
|
"#{Rails.configuration.youraccount_site}/dashboard"
|
8
8
|
end
|
9
|
-
|
9
|
+
|
10
|
+
def youraccount_help_path
|
11
|
+
"#{Rails.configuration.youraccount_site}/help"
|
12
|
+
end
|
13
|
+
|
10
14
|
def youraccount_billing_path
|
11
15
|
"#{Rails.configuration.youraccount_site}/billing"
|
12
16
|
end
|
@@ -59,10 +63,6 @@ module AmaLayoutPathHelper
|
|
59
63
|
"#{Rails.configuration.membership_site}/reward_cards"
|
60
64
|
end
|
61
65
|
|
62
|
-
def membership_renew_path
|
63
|
-
"#{Rails.configuration.membership_site}/renews/new"
|
64
|
-
end
|
65
|
-
|
66
66
|
def driveredonline_path
|
67
67
|
Rails.configuration.driveredonline_site
|
68
68
|
end
|
@@ -2,10 +2,6 @@
|
|
2
2
|
<div class="title-bar" data-responsive-toggle="main-menu" data-hide-for="large">
|
3
3
|
<button class="menu-icon" type="button" data-toggle="offCanvasLeft"></button>
|
4
4
|
<%= link_to(image_tag("ama-logo.png"), "https://www.ama.ab.ca", class: "title-bar__logo") %>
|
5
|
-
<a href="#" data-toggle="offCanvasRight" data-notifications-toggle>
|
6
|
-
<i class="fa fa-2x fa-bell notification__icon"></i>
|
7
|
-
<%= navigation.notification_badge %>
|
8
|
-
</a>
|
9
5
|
</div>
|
10
6
|
<div class="top-bar" id="main-menu">
|
11
7
|
<div class="top-bar-left">
|
@@ -13,9 +9,8 @@
|
|
13
9
|
</div>
|
14
10
|
<div class="top-bar-right">
|
15
11
|
<ul class="menu" data-responsive-menu="drilldown medium-dropdown">
|
16
|
-
<%= navigation.notifications %>
|
17
12
|
<li>
|
18
|
-
<a href="
|
13
|
+
<a href="<%= Rails.configuration.gatekeeper_site %>/help" target="_blank">Help</a>
|
19
14
|
</li>
|
20
15
|
<li>
|
21
16
|
<a href="<%= Rails.configuration.amaabca_site %>/membership/contact-us--centre-locations-hours-and-contact-information">Contact Us</a>
|
@@ -39,7 +34,7 @@
|
|
39
34
|
<a class="side-nav__link" href="http://amaroadreports.ca/">AMA Road Reports</a>
|
40
35
|
</li>
|
41
36
|
<li class="side-nav__item">
|
42
|
-
<a class="side-nav__link" href="
|
37
|
+
<a class="side-nav__link" href="<%= Rails.configuration.gatekeeper_site %>/help" target="_blank">Help</a>
|
43
38
|
</li>
|
44
39
|
<li class="side-nav__item">
|
45
40
|
<a class="side-nav__link" href="<%= Rails.configuration.amaabca_site %>/membership/contact-us--centre-locations-hours-and-contact-information">Contact Us</a>
|
@@ -48,7 +43,7 @@
|
|
48
43
|
</ul>
|
49
44
|
</div>
|
50
45
|
</div>
|
51
|
-
|
46
|
+
|
52
47
|
<div class="javascript_errors error_notification" hidden></div>
|
53
48
|
<noscript>
|
54
49
|
<div class="mt1 large-12 columns text-center error_notification">
|
data/lib/ama_layout.rb
CHANGED
@@ -1,33 +1,25 @@
|
|
1
|
-
require
|
2
|
-
require
|
3
|
-
require
|
4
|
-
require
|
5
|
-
require
|
6
|
-
require
|
7
|
-
require
|
8
|
-
require
|
9
|
-
require
|
10
|
-
require
|
11
|
-
require
|
12
|
-
require
|
13
|
-
require
|
14
|
-
require
|
15
|
-
require 'ama_layout/decorators/navigation_item_decorator'
|
16
|
-
require 'ama_layout/controllers/action_controller'
|
17
|
-
require 'ama_layout/notifications/abstract_store'
|
18
|
-
require 'ama_layout/notifications/redis_store'
|
19
|
-
require 'ama_layout/notification'
|
20
|
-
require 'ama_layout/decorators/notification_decorator'
|
21
|
-
require 'ama_layout/notification_scrubber'
|
22
|
-
require 'ama_layout/notification_set'
|
23
|
-
require 'ama_layout/notifications'
|
1
|
+
require "ama_layout/version"
|
2
|
+
require "rails/all"
|
3
|
+
require "foundation-rails"
|
4
|
+
require "draper"
|
5
|
+
require "browser"
|
6
|
+
require "breadcrumbs_on_rails"
|
7
|
+
require "ama_layout/breadcrumb_builder"
|
8
|
+
require "ama_layout/moneris"
|
9
|
+
require "ama_layout/navigation"
|
10
|
+
require "ama_layout/navigation_item"
|
11
|
+
require "ama_layout/decorators/moneris_decorator"
|
12
|
+
require "ama_layout/decorators/navigation_decorator"
|
13
|
+
require "ama_layout/decorators/navigation_item_decorator"
|
14
|
+
require "ama_layout/controllers/action_controller"
|
24
15
|
|
25
16
|
module AmaLayout
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
17
|
+
module Rails
|
18
|
+
class Engine < ::Rails::Engine
|
19
|
+
initializer('ama_layout') do
|
20
|
+
I18n.load_path << File.join(self.root, 'app', 'config', 'locales', 'en.yml')
|
21
|
+
::ActionController::Base.send :include, AmaLayout::ActionController
|
22
|
+
end
|
31
23
|
end
|
32
24
|
end
|
33
25
|
end
|
@@ -1,19 +1,20 @@
|
|
1
1
|
module AmaLayout
|
2
|
-
class NavigationDecorator
|
3
|
-
|
4
|
-
extend AmaLayout::DraperReplacement
|
2
|
+
class NavigationDecorator < Draper::Decorator
|
3
|
+
delegate_all
|
5
4
|
|
6
5
|
def items
|
7
6
|
object.items.map { |i| i.decorate }
|
8
7
|
end
|
9
8
|
|
10
9
|
def display_name_text
|
11
|
-
name_or_email.
|
10
|
+
name_or_email.truncate(30)
|
12
11
|
end
|
13
12
|
|
14
13
|
def sign_out_link
|
15
14
|
return "" unless user
|
16
|
-
h.
|
15
|
+
h.content_tag :li, class: "side-nav__item" do
|
16
|
+
h.concat h.link_to "Sign Out", "/logout", class: "side-nav__link"
|
17
|
+
end
|
17
18
|
end
|
18
19
|
|
19
20
|
def top_nav
|
@@ -31,52 +32,5 @@ module AmaLayout
|
|
31
32
|
def account_toggle
|
32
33
|
h.render partial: "account_toggle"
|
33
34
|
end
|
34
|
-
|
35
|
-
def notifications
|
36
|
-
if user
|
37
|
-
h.render 'ama_layout/notifications', notifications: user.notifications, navigation: self
|
38
|
-
end
|
39
|
-
end
|
40
|
-
|
41
|
-
def notification_badge
|
42
|
-
if new_notifications?
|
43
|
-
h.content_tag(
|
44
|
-
:div,
|
45
|
-
active_notification_count,
|
46
|
-
class: 'notification__badge',
|
47
|
-
data: {
|
48
|
-
notification_count: true
|
49
|
-
}
|
50
|
-
)
|
51
|
-
end
|
52
|
-
end
|
53
|
-
|
54
|
-
def notification_sidebar
|
55
|
-
if user
|
56
|
-
h.render 'ama_layout/notification_sidebar', navigation: self, notifications: decorated_notifications
|
57
|
-
end
|
58
|
-
end
|
59
|
-
|
60
|
-
def notifications_heading
|
61
|
-
if user.notifications.any?
|
62
|
-
h.content_tag :p, 'Most Recent Notifications', class: 'mt1'
|
63
|
-
else
|
64
|
-
h.content_tag :p, 'No Recent Notifications', class: 'mt1 italic'
|
65
|
-
end
|
66
|
-
end
|
67
|
-
|
68
|
-
private
|
69
|
-
|
70
|
-
def decorated_notifications
|
71
|
-
AmaLayout::NotificationDecorator.decorate_collection(user.notifications)
|
72
|
-
end
|
73
|
-
|
74
|
-
def active_notification_count
|
75
|
-
user && user.notifications.active.size || 0
|
76
|
-
end
|
77
|
-
|
78
|
-
def new_notifications?
|
79
|
-
active_notification_count > 0
|
80
|
-
end
|
81
35
|
end
|
82
36
|
end
|
data/lib/ama_layout/moneris.rb
CHANGED
@@ -1,10 +1,7 @@
|
|
1
1
|
module AmaLayout
|
2
2
|
class Navigation
|
3
3
|
include ActiveModel::Model
|
4
|
-
|
5
|
-
def decorate
|
6
|
-
AmaLayout::NavigationDecorator.new(self)
|
7
|
-
end
|
4
|
+
include Draper::Decoratable
|
8
5
|
|
9
6
|
attr_accessor :user, :current_url, :nav_file_path, :display_name
|
10
7
|
|
@@ -16,15 +13,12 @@ module AmaLayout
|
|
16
13
|
cattr_accessor :member do
|
17
14
|
"member"
|
18
15
|
end
|
19
|
-
|
20
16
|
cattr_accessor :non_member do
|
21
17
|
"non-member"
|
22
18
|
end
|
23
|
-
|
24
19
|
cattr_accessor :member_in_renewal do
|
25
20
|
"member-in-renewal"
|
26
21
|
end
|
27
|
-
|
28
22
|
cattr_accessor :member_in_renewal_late do
|
29
23
|
"member-in-renewal-late"
|
30
24
|
end
|
@@ -81,31 +81,13 @@ non-member:
|
|
81
81
|
link: "<%= Rails.configuration.gatekeeper_site %>/user/edit"
|
82
82
|
icon: "fa-cogs"
|
83
83
|
member-in-renewal:
|
84
|
-
- text: "
|
84
|
+
- text: "Account Dashboard"
|
85
85
|
link: "<%= Rails.configuration.gatekeeper_site %>/"
|
86
86
|
icon: "fa-tachometer"
|
87
|
-
- text: "
|
88
|
-
link: "<%= Rails.configuration.
|
87
|
+
- text: "Renew"
|
88
|
+
link: "<%= Rails.configuration.youraccount_site %>/renew"
|
89
89
|
icon: "fa-credit-card"
|
90
|
-
|
91
|
-
- text: "Membership Overview"
|
92
|
-
link: "<%= Rails.configuration.membership_site %>/membership/overview"
|
93
|
-
- text: "Renew Membership"
|
94
|
-
link: "<%= Rails.configuration.membership_site %>/renews/new"
|
95
|
-
icon: "fa-credit-card"
|
96
|
-
- text: "Manage Membership"
|
97
|
-
link: "<%= Rails.configuration.membership_site %>/membership/manage"
|
98
|
-
- text: "Billing Options"
|
99
|
-
link: "<%= Rails.configuration.youraccount_site %>/billing"
|
100
|
-
- text: "Print/Request New Card"
|
101
|
-
link: "<%= Rails.configuration.youraccount_site %>/membership"
|
102
|
-
- text: "My Roadside Assistance"
|
103
|
-
link: "<%= Rails.configuration.automotive_site %>/"
|
104
|
-
icon: "fa-car"
|
105
|
-
sub_nav:
|
106
|
-
- text: "Roadside Assistance Overview"
|
107
|
-
link: "<%= Rails.configuration.automotive_site %>/"
|
108
|
-
- text: "My Driver Education"
|
90
|
+
- text: "Driver Education"
|
109
91
|
link: "<%= Rails.configuration.driveredonline_site %>/"
|
110
92
|
icon: "fa-car"
|
111
93
|
sub_nav:
|
@@ -113,46 +95,12 @@ member-in-renewal:
|
|
113
95
|
link: "<%= Rails.configuration.driveredonline_site %>/"
|
114
96
|
- text: "New Driver Online Program"
|
115
97
|
link: "<%= Rails.configuration.driveredonline_site %>/dashboard"
|
116
|
-
- text: "My AMA Rewards"
|
117
|
-
link: "<%= Rails.configuration.youraccount_site %>/rewards"
|
118
|
-
icon: "fa-usd"
|
119
|
-
sub_nav:
|
120
|
-
- text: "Rewards Overview"
|
121
|
-
link: "<%= Rails.configuration.youraccount_site %>/rewards"
|
122
|
-
- text: "Gift Cards"
|
123
|
-
link: "<%= Rails.configuration.membership_site %>/reward_cards"
|
124
|
-
- text: "Transaction History"
|
125
|
-
link: "<%= Rails.configuration.youraccount_site %>/reward_dollars"
|
126
|
-
- text: "Pizza 73 Coupon Codes"
|
127
|
-
link: "<%= Rails.configuration.youraccount_site %>/pizza73"
|
128
|
-
- text: "My Registries"
|
129
|
-
link: "<%= Rails.configuration.registries_site %>/"
|
130
|
-
icon: "fa-folder-open"
|
131
|
-
sub_nav:
|
132
|
-
- text: "Registries Overview"
|
133
|
-
link: "<%= Rails.configuration.registries_site %>/"
|
134
|
-
- text: "Vehicle Registration Auto-Renew"
|
135
|
-
link: "<%= Rails.configuration.registries_site %>/order/registrations/new"
|
136
|
-
- text: "My Travel"
|
137
|
-
link: "<%= Rails.configuration.travel_site %>"
|
138
|
-
- text: "My Account Settings"
|
139
|
-
link: "<%= Rails.configuration.gatekeeper_site %>/user/edit"
|
140
|
-
icon: "fa-cogs"
|
141
|
-
sub_nav:
|
142
|
-
- text: "Change Email/Password"
|
143
|
-
link: "<%= Rails.configuration.gatekeeper_site %>/user/edit"
|
144
|
-
- text: "Email Subscriptions"
|
145
|
-
link: "<%= Rails.configuration.youraccount_site %>/subscriptions"
|
146
|
-
- text: "AMA Insider Magazine"
|
147
|
-
link: "<%= Rails.configuration.youraccount_site %>/amainsider"
|
148
|
-
- text: "Change Address"
|
149
|
-
link: "<%= Rails.configuration.youraccount_site %>/membership_update/new"
|
150
98
|
member-in-renewal-late:
|
151
99
|
- text: "Account Dashboard"
|
152
100
|
link: "<%= Rails.configuration.gatekeeper_site %>/"
|
153
101
|
icon: "fa-tachometer"
|
154
102
|
- text: "Renew"
|
155
|
-
link: "<%= Rails.configuration.
|
103
|
+
link: "<%= Rails.configuration.youraccount_site %>/renew"
|
156
104
|
icon: "fa-credit-card"
|
157
105
|
- text: "Driver Education"
|
158
106
|
link: "<%= Rails.configuration.driveredonline_site %>/"
|
@@ -167,7 +115,7 @@ member-with-outstanding-balance:
|
|
167
115
|
link: "<%= Rails.configuration.gatekeeper_site %>/"
|
168
116
|
icon: "fa-tachometer"
|
169
117
|
- text: "Pay Outstanding Balance"
|
170
|
-
link: "<%= Rails.configuration.
|
118
|
+
link: "<%= Rails.configuration.youraccount_site %>/renew"
|
171
119
|
icon: "fa-credit-card"
|
172
120
|
- text: "Driver Education"
|
173
121
|
link: "<%= Rails.configuration.driveredonline_site %>/"
|