phcdevworks_accounts 3.0.4 → 3.0.5
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: 3815bb2d86b61c19ad6475d594eb3938c9c2c6cd87ed3adc0ae5d0f96ac43bc7
|
4
|
+
data.tar.gz: fbad6257af5dd2d5006356f515c85004bebc7e24c8d2efa12a4bcb7d5a9c8fd6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9013ad9d810463c03908b01b80bbdebce7d782685a341645b719c7a02d8536b9c56c6671a5eba88fe2e6d8f793f99550c3e067bb0085b8b8061fbe864ca89877
|
7
|
+
data.tar.gz: 31c423bf1715b0b11002e531f94bb7bb6bc3613a26626a809682588956d59c649b5135f5048a62842f04a50661f5ad06a8567aae0833c68d70f2c14c1ad63ee5
|
@@ -277,25 +277,87 @@
|
|
277
277
|
<!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Core Modules -->
|
278
278
|
<% end %>
|
279
279
|
|
280
|
+
<li class="nav-header">Administration</li>
|
281
|
+
<% if defined?phcdevworks_accounts_stripe && current_user && current_user.admin %>
|
282
|
+
<!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Accounts Stripe -->
|
283
|
+
<li class="has-sub">
|
284
|
+
<a href="javascript:;">
|
285
|
+
<b class="caret"></b>
|
286
|
+
<i class="fab fa-cc-stripe"></i>
|
287
|
+
<span>Subscriptions</span>
|
288
|
+
</a>
|
289
|
+
<ul class="sub-menu">
|
290
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_accounts_stripe/admin/subscriptions#admin_subscription_list") %>"><%= link_to("Subscription Index", phcdevworks_accounts_stripe.admin_subscriptions_path) %></li>
|
291
|
+
</ul>
|
292
|
+
</li>
|
293
|
+
<li class="has-sub">
|
294
|
+
<a href="javascript:;">
|
295
|
+
<b class="caret"></b>
|
296
|
+
<i class="fad fa-money-check-alt"></i>
|
297
|
+
<span>Plans</span>
|
298
|
+
</a>
|
299
|
+
<ul class="sub-menu">
|
300
|
+
<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>
|
301
|
+
</ul>
|
302
|
+
</li>
|
303
|
+
<li class="has-sub">
|
304
|
+
<a href="javascript:;">
|
305
|
+
<b class="caret"></b>
|
306
|
+
<i class="fad fa-users"></i>
|
307
|
+
<span>Customers</span>
|
308
|
+
</a>
|
309
|
+
<ul class="sub-menu">
|
310
|
+
<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>
|
311
|
+
</ul>
|
312
|
+
</li>
|
313
|
+
<!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Accounts Stripe -->
|
314
|
+
<% end %>
|
315
|
+
|
280
316
|
<% if current_user && current_user.admin? %>
|
281
317
|
<!-- -PHC- Sidebar - Sidebar Navigation - PHCAccounts Admin Options -->
|
282
|
-
<li class="nav-header">User Administration</li>
|
283
318
|
<li class="has-sub">
|
284
319
|
<a href="javascript:;">
|
285
320
|
<b class="caret"></b>
|
286
321
|
<i class="fad fa-user"></i>
|
287
|
-
<span>
|
322
|
+
<span>User Auth</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>
|
291
326
|
</ul>
|
292
327
|
</li>
|
293
328
|
<!-- -PHC- Sidebar - Sidebar Navigation - PHCAccounts Admin Options -->
|
294
|
-
|
295
|
-
|
296
|
-
|
329
|
+
<% end %>
|
330
|
+
|
331
|
+
<li class="nav-header">Your Account</li>
|
332
|
+
<% if defined?phcdevworks_accounts_stripe && 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>Plan Settings</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>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
|
+
|
359
|
+
<% if current_user %>
|
297
360
|
<!-- -PHC- Sidebar - Sidebar Navigation - PHCAccounts User Options -->
|
298
|
-
<li class="nav-header">Your Account</li>
|
299
361
|
<li class="has-sub">
|
300
362
|
<a href="javascript:;">
|
301
363
|
<b class="caret"></b>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phcdevworks_accounts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.5
|
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-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|