phcdevworks_accounts 3.2.2 → 3.2.3
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: 33e8b0d9d8642677a7046ea44c51d0e507a6f2f04889b527127e648047dd2c24
|
4
|
+
data.tar.gz: 31e400984adb1c548ed0364c4065edfe760c2ffda986925d582b5985b801b418
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba7263fe12f0dc3d5df4c6a041016f7a28d3fe39cf0f5b15be89786946df4d2797b817bc511bb091f16b1443743129caa539ef1b7cb5b74670ebd48720d9fcba
|
7
|
+
data.tar.gz: 867b6e4425e787da94e1ea60eea77bfd5f4e7e239fd8f057b3a36388d136bf3de05db0803fd0566361ec2853ae5df29ad4cc65f6fcf30c3192bc1040db4cc303
|
@@ -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:;">
|