phcdevworks_core_modules 7.2.0 → 7.2.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79308c277f2cf2443d802ab4d7a0575ccd6d31ea7d2151d935c3b07733c80d5f
|
4
|
+
data.tar.gz: 30485fb3521ad77fb56f8afef31dd4319b2dc2d56e5738e54bdf059e00624be9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fd9ae0ec8b1542c8b3397d6da6c461688217f7484a75d0572d37ffc86578048751d714b8bc7956bb2388ec4f7b78990800597c9a5d56944680a37c72f6fa4f1
|
7
|
+
data.tar.gz: 84b19a40af48981459e1c1b51e00ba01dd052b904e9c205a2372e29cc3975cc40001df2ab414a7cd4f5d3990f986efe22fb3ef626610fc2918ce2da105a52517
|
data/app/views/layouts/phcdevworks_core_modules/components/backend/sidebars/_side_menu.html.erb
CHANGED
@@ -277,14 +277,49 @@
|
|
277
277
|
<!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Core Modules -->
|
278
278
|
<% end %>
|
279
279
|
|
280
|
-
|
281
|
-
|
280
|
+
<% if current_user and current_user.admin? %>
|
281
|
+
<li class="nav-header">Administration</li>
|
282
|
+
<% if defined?phcdevworks_accounts_stripe and current_user.admin? %>
|
283
|
+
<!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Accounts Stripe -->
|
284
|
+
<li class="has-sub">
|
285
|
+
<a href="javascript:;">
|
286
|
+
<b class="caret"></b>
|
287
|
+
<i class="fab fa-cc-visa"></i>
|
288
|
+
<span>Accounting</span>
|
289
|
+
</a>
|
290
|
+
<ul class="sub-menu">
|
291
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_accounts_stripe/admin/subscriptions#admin_subscription_list") %>"><%= link_to("Invoices", phcdevworks_accounts_stripe.admin_invoices_path) %></li>
|
292
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_accounts_stripe/admin/subscriptions#admin_subscription_list") %>"><%= link_to("Subscriptions", phcdevworks_accounts_stripe.admin_subscriptions_path) %></li>
|
293
|
+
</ul>
|
294
|
+
</li>
|
295
|
+
<li class="has-sub">
|
296
|
+
<a href="javascript:;">
|
297
|
+
<b class="caret"></b>
|
298
|
+
<i class="fad fa-money-check-alt"></i>
|
299
|
+
<span>Services</span>
|
300
|
+
</a>
|
301
|
+
<ul class="sub-menu">
|
302
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_accounts_stripe/admin/products#admin_products_list") %>"><%= link_to("Product List", phcdevworks_accounts_stripe.admin_products_path) %></li>
|
303
|
+
</ul>
|
304
|
+
</li>
|
305
|
+
<li class="has-sub">
|
306
|
+
<a href="javascript:;">
|
307
|
+
<b class="caret"></b>
|
308
|
+
<i class="fad fa-users"></i>
|
309
|
+
<span>Customers</span>
|
310
|
+
</a>
|
311
|
+
<ul class="sub-menu">
|
312
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_accounts_stripe/admin/customers#admin_customer_list") %>"><%= link_to("Customer List", phcdevworks_accounts_stripe.admin_customers_path) %></li>
|
313
|
+
</ul>
|
314
|
+
</li>
|
315
|
+
<!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Accounts Stripe -->
|
316
|
+
<% end %>
|
282
317
|
<!-- -PHC- Sidebar - Sidebar Navigation - PHCAccounts Admin Options -->
|
283
318
|
<li class="has-sub">
|
284
319
|
<a href="javascript:;">
|
285
320
|
<b class="caret"></b>
|
286
|
-
<i class="fad fa-user"></i>
|
287
|
-
<span>User
|
321
|
+
<i class="fad fa-user-lock"></i>
|
322
|
+
<span>User Logins</span>
|
288
323
|
</a>
|
289
324
|
<ul class="sub-menu">
|
290
325
|
<li class="<%= phc_menu_active_controller("phcdevworks_accounts/admin/users") %>"><%= link_to "User List", phcdevworks_accounts.admin_users_all_path %></li>
|
@@ -294,13 +329,40 @@
|
|
294
329
|
<% end %>
|
295
330
|
|
296
331
|
<li class="nav-header">Your Account</li>
|
332
|
+
<% if defined?phcdevworks_accounts_stripe and current_user %>
|
333
|
+
<!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Accounts Stripe -->
|
334
|
+
<li class="has-sub">
|
335
|
+
<a href="javascript:;">
|
336
|
+
<b class="caret"></b>
|
337
|
+
<i class="fad fa-money-check-alt"></i>
|
338
|
+
<span>Your Subscription</span>
|
339
|
+
</a>
|
340
|
+
<ul class="sub-menu">
|
341
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_accounts_stripe/admin/subscriptions#admin_subscription_list") %>"><%= link_to("Your Subscription", phcdevworks_accounts_stripe.user_subscription_path) %></li>
|
342
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_accounts_stripe/admin/products#admin_product_list") %>"><%= link_to("Switch Subscriptions", phcdevworks_accounts_stripe.user_subscription_path) %></li>
|
343
|
+
</ul>
|
344
|
+
</li>
|
345
|
+
<li class="has-sub">
|
346
|
+
<a href="javascript:;">
|
347
|
+
<b class="caret"></b>
|
348
|
+
<i class="fad fa-file-invoice"></i>
|
349
|
+
<span>Your Invoices</span>
|
350
|
+
</a>
|
351
|
+
<ul class="sub-menu">
|
352
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_accounts_stripe/user/invoices#admin_customer_list") %>"><%= link_to("Current Invoice", phcdevworks_accounts_stripe.user_invoices_path) %></li>
|
353
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_accounts_stripe/user/invoices#admin_customer_list") %>"><%= link_to("Past Invoices", phcdevworks_accounts_stripe.admin_customers_path) %></li>
|
354
|
+
</ul>
|
355
|
+
</li>
|
356
|
+
<!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Accounts Stripe -->
|
357
|
+
<% end %>
|
358
|
+
|
297
359
|
<% if current_user %>
|
298
360
|
<!-- -PHC- Sidebar - Sidebar Navigation - PHCAccounts User Options -->
|
299
361
|
<li class="has-sub">
|
300
362
|
<a href="javascript:;">
|
301
363
|
<b class="caret"></b>
|
302
364
|
<i class="fad fa-user"></i>
|
303
|
-
<span>
|
365
|
+
<span>Login Settings</span>
|
304
366
|
</a>
|
305
367
|
<ul class="sub-menu">
|
306
368
|
<li class="<%= phc_menu_active_controller("phcdevworks_accounts/user/edit") %>"><%= link_to "Settings", phcdevworks_accounts.edit_user_registration_path %></li>
|
data/config/routes.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phcdevworks_core_modules
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.2.
|
4
|
+
version: 7.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- PHCDevworks
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-04-
|
11
|
+
date: 2021-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -254,14 +254,14 @@ dependencies:
|
|
254
254
|
requirements:
|
255
255
|
- - "~>"
|
256
256
|
- !ruby/object:Gem::Version
|
257
|
-
version: 0.1.
|
257
|
+
version: 0.1.6
|
258
258
|
type: :runtime
|
259
259
|
prerelease: false
|
260
260
|
version_requirements: !ruby/object:Gem::Requirement
|
261
261
|
requirements:
|
262
262
|
- - "~>"
|
263
263
|
- !ruby/object:Gem::Version
|
264
|
-
version: 0.1.
|
264
|
+
version: 0.1.6
|
265
265
|
- !ruby/object:Gem::Dependency
|
266
266
|
name: factory_bot_rails
|
267
267
|
requirement: !ruby/object:Gem::Requirement
|