forever_style_guide 3.1.5 → 3.2.0
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/app/assets/images/forever_style_guide/default_avatar.jpg +0 -0
- data/app/helpers/forever_style_guide/application_helper.rb +16 -20
- data/app/views/forever_style_guide/sections/components/navigation/_impersonation_banner.erb +1 -1
- data/app/views/forever_style_guide/sections/components/navigation/_nav_account_dropdown_menu.erb +1 -1
- data/app/views/forever_style_guide/sections/components/navigation/_nav_inspiration.erb +1 -1
- data/app/views/forever_style_guide/sections/components/navigation/_nav_my_forever_dropdown.erb +12 -18
- data/lib/forever_style_guide/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1182afd1f951ccf60d8f6ac6a94960806102ee37
|
4
|
+
data.tar.gz: be516b2ee94b4bcc0b8eb3fa329b60478882dfb1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c420e6e0beef8beec1e088926057d158b48a890ce649eae36652e578397d96d7f10c04f509864bb790cf7c9f07ce81effa496f2eaf9de503ce2071ff29f358b
|
7
|
+
data.tar.gz: 93cdfaee9d5ffa34ee744f89b3dbe3033c6e78d97d8d95726d13ae35d72f90e5042fda3c7d3479ead4f7d6048194d888c5bbb202944d862ed0c046fe080f7edc
|
Binary file
|
@@ -21,10 +21,6 @@ module ForeverStyleGuide
|
|
21
21
|
strip_subdomain("www", path, url)
|
22
22
|
end
|
23
23
|
|
24
|
-
def web_app_url(path = '/', url = nil)
|
25
|
-
strip_subdomain("my", path, url)
|
26
|
-
end
|
27
|
-
|
28
24
|
def strip_subdomain(sub, path = '/', url = nil)
|
29
25
|
url ||= request.url if respond_to?(:request)
|
30
26
|
url = URI(url)
|
@@ -116,39 +112,44 @@ module ForeverStyleGuide
|
|
116
112
|
end
|
117
113
|
|
118
114
|
def web_app_admin_url
|
119
|
-
|
115
|
+
# this probably goes away
|
116
|
+
('/app/admin')
|
120
117
|
end
|
121
118
|
|
122
119
|
def stop_impersonating_url
|
123
|
-
|
120
|
+
('/impersonations')
|
124
121
|
end
|
125
122
|
|
126
123
|
# Web App Paths
|
127
124
|
def library_url
|
128
|
-
|
125
|
+
('/app/library')
|
126
|
+
end
|
127
|
+
|
128
|
+
def albums_url
|
129
|
+
('/app/albums')
|
129
130
|
end
|
130
131
|
|
131
|
-
def
|
132
|
-
|
132
|
+
def tags_url
|
133
|
+
('/app/tags')
|
133
134
|
end
|
134
135
|
|
135
136
|
def projects_url
|
136
|
-
|
137
|
+
('/app/library')
|
137
138
|
end
|
138
139
|
|
139
140
|
def people_url
|
140
|
-
|
141
|
+
('/app/users')
|
141
142
|
end
|
142
143
|
|
143
|
-
def
|
144
|
-
|
144
|
+
def profile_url
|
145
|
+
('/app/profile')
|
145
146
|
end
|
146
147
|
|
147
|
-
# User settings links (store and web app)
|
148
148
|
def user_settings_url
|
149
|
-
|
149
|
+
('/app/settings')
|
150
150
|
end
|
151
151
|
|
152
|
+
# Combined Store/WWW Paths - now all available at www.forever.com
|
152
153
|
def user_order_history_url
|
153
154
|
www_url('/settings/orders')
|
154
155
|
end
|
@@ -161,7 +162,6 @@ module ForeverStyleGuide
|
|
161
162
|
www_url('/settings/my_ambassador')
|
162
163
|
end
|
163
164
|
|
164
|
-
# Combined Store/WWW Paths - now all available at www.forever.com
|
165
165
|
def login_url
|
166
166
|
www_url('/sign_in')
|
167
167
|
end
|
@@ -427,10 +427,6 @@ module ForeverStyleGuide
|
|
427
427
|
"https://forever1.zendesk.com/hc/en-us/articles/203834518-Using-the-People-Tab-Video-"
|
428
428
|
end
|
429
429
|
|
430
|
-
def zendesk_inbox_video_url
|
431
|
-
"https://forever1.zendesk.com/hc/en-us/articles/223580988-Deeper-Dive-into-How-to-Use-your-Inbox-Video-"
|
432
|
-
end
|
433
|
-
|
434
430
|
def zendesk_albums_video_url
|
435
431
|
"https://forever1.zendesk.com/hc/en-us/articles/226085547-Creating-an-Album-Uploading-Directly-to-an-Album-Video-"
|
436
432
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<div class="color-white pull-left">
|
4
4
|
<span class="hidden-xs">Logged in as <%= current_admin.name %>, but a</span><span class="visible-xs-inline">A</span>cting on behalf of <%= current_user.name %>
|
5
5
|
</div>
|
6
|
-
<%= link_to stop_impersonating_url, class: 'btn btn-sm btn-link btn-cancel_impersonation' do %>
|
6
|
+
<%= link_to stop_impersonating_url, class: 'btn btn-sm btn-link btn-cancel_impersonation', method: :delete do %>
|
7
7
|
<i class="fa fa-times"></i> Stop Managing <span class="hidden-xs"><%= current_user.name %></span>
|
8
8
|
<% end %>
|
9
9
|
</div>
|
data/app/views/forever_style_guide/sections/components/navigation/_nav_account_dropdown_menu.erb
CHANGED
@@ -81,7 +81,7 @@
|
|
81
81
|
|
82
82
|
<li class="dropdown-menu-account-item">
|
83
83
|
|
84
|
-
<%= link_to current_admin ? stop_impersonating_url : log_out_url, class: 'dropdown-menu-nav-link dropdown-menu-nav-link-sm dropdown-menu-nav-link-no_margin', title: 'Log Out of Forever' do %>
|
84
|
+
<%= link_to current_admin ? stop_impersonating_url : log_out_url, class: 'dropdown-menu-nav-link dropdown-menu-nav-link-sm dropdown-menu-nav-link-no_margin', title: 'Log Out of Forever', method: current_admin ? :delete : :post do %>
|
85
85
|
<i class='fa fa-share fa-fw'></i>Log Out
|
86
86
|
<% end %>
|
87
87
|
</li>
|
data/app/views/forever_style_guide/sections/components/navigation/_nav_my_forever_dropdown.erb
CHANGED
@@ -14,27 +14,27 @@
|
|
14
14
|
<% if defined?(current_user) && current_user.present? %>
|
15
15
|
|
16
16
|
<li>
|
17
|
-
<%= link_to library_url, class: 'dropdown-menu-nav-link', title: 'Organize Photos in Your Forever Library'
|
18
|
-
<i class='fa fa-th-large'></i>Library
|
19
|
-
<% end %>
|
17
|
+
<%= link_to 'Library', library_url, class: 'dropdown-menu-nav-link', title: 'Organize Photos in Your Forever Library' %>
|
20
18
|
</li>
|
21
19
|
|
22
20
|
<li>
|
23
|
-
<%= link_to
|
24
|
-
<i class='fa fa-paint-brush'></i>Projects
|
25
|
-
<% end %>
|
21
|
+
<%= link_to 'Albums', albums_url, class: 'dropdown-menu-nav-link', title: 'Share Albums with Friends' %>
|
26
22
|
</li>
|
27
23
|
|
28
24
|
<li>
|
29
|
-
<%= link_to
|
30
|
-
<i class='fa fa-users'></i>People
|
31
|
-
<% end %>
|
25
|
+
<%= link_to 'Tags', tags_url, class: 'dropdown-menu-nav-link', title: 'Tag Photos of Friends and Places' %>
|
32
26
|
</li>
|
33
27
|
|
34
28
|
<li>
|
35
|
-
<%= link_to
|
36
|
-
|
37
|
-
|
29
|
+
<%= link_to 'Print Projects', projects_url, class: 'dropdown-menu-nav-link', title: 'Create Print Projects' %>
|
30
|
+
</li>
|
31
|
+
|
32
|
+
<li>
|
33
|
+
<%= link_to 'Friends & Family', people_url, class: 'dropdown-menu-nav-link', title: 'Share Photos with Friends and Family' %>
|
34
|
+
</li>
|
35
|
+
|
36
|
+
<li>
|
37
|
+
<%= link_to 'Profile', profile_url, class: 'dropdown-menu-nav-link', title: 'View Your Profile' %>
|
38
38
|
</li>
|
39
39
|
|
40
40
|
<% else %>
|
@@ -111,12 +111,6 @@
|
|
111
111
|
<div class='col-grid-float-3 l-padded-thin dropdown-menu-nav-extra_column'>
|
112
112
|
<div class="hidden-grid-float-breakpoint dropdown-menu-nav-spacer"></div>
|
113
113
|
<ul class="list-unstyled">
|
114
|
-
<li>
|
115
|
-
<%= link_to zendesk_inbox_video_url, class: 'dropdown-menu-nav-link', title: 'How to Use Your Inbox in Forever - Video Tutorial', target: '_blank' do %>
|
116
|
-
<i class='fa fa-video-camera'></i>Inbox
|
117
|
-
<% end %>
|
118
|
-
</li>
|
119
|
-
|
120
114
|
<li>
|
121
115
|
<%= link_to zendesk_albums_video_url, class: 'dropdown-menu-nav-link', title: 'Organizing Photos with Albums in Forever - Video Tutorial', target: '_blank' do %>
|
122
116
|
<i class='fa fa-video-camera'></i>Albums
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forever_style_guide
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicholas McClay
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|