phcdevworks_accounts_stripe 0.1.6 → 0.1.7
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: f09f1de338c64e97fad3b933365f6479845d926764c1a81ca926696b920ec99e
|
4
|
+
data.tar.gz: 7ee0e98d7a1bbb152824c33fb29f83c06d8746d3f40b8d0e89f9427a21ede63d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b208b87bc489c7ba044c32cabf24b71a84e53a5c5f0090f47ab7bb500589b991dfa5c77b7a2d19bc807998390021f0541ca35cad28bf02c5782361e507c7e1d
|
7
|
+
data.tar.gz: d1ce3cfbbc12a8cb40b4ae14d6b0c4af871e33e0622dcdcb3fd741851e847600e53cd9cdf2cd03c9145e5d82a6efb07160b7f74a05934509f3c31442c11ebbe0
|
data/app/views/layouts/phcdevworks_accounts_stripe/components/backend/sidebars/_side_menu.html.erb
CHANGED
@@ -277,9 +277,9 @@
|
|
277
277
|
<!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Core Modules -->
|
278
278
|
<% end %>
|
279
279
|
|
280
|
-
<% if current_user
|
280
|
+
<% if current_user and current_user.admin? %>
|
281
281
|
<li class="nav-header">Administration</li>
|
282
|
-
<% if defined?phcdevworks_accounts_stripe %>
|
282
|
+
<% if defined?phcdevworks_accounts_stripe and current_user.admin? %>
|
283
283
|
<!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Accounts Stripe -->
|
284
284
|
<li class="has-sub">
|
285
285
|
<a href="javascript:;">
|
@@ -329,7 +329,7 @@
|
|
329
329
|
<% end %>
|
330
330
|
|
331
331
|
<li class="nav-header">Your Account</li>
|
332
|
-
<% if defined?phcdevworks_accounts_stripe
|
332
|
+
<% if defined?phcdevworks_accounts_stripe and current_user %>
|
333
333
|
<!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Accounts Stripe -->
|
334
334
|
<li class="has-sub">
|
335
335
|
<a href="javascript:;">
|