padma-assets 0.2.33 → 0.2.38
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
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 5ae5a580da7b0cbf2547c2d7d8f56a2d351b2fdcf019edaea34f4cf6db4d7478
|
4
|
+
data.tar.gz: a8418e084659e2afc706a2eb7ef99771cb63d957ed514a6749776356b98744db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64c641561f813af15bd25873e0cfdb8757daf66d52393e47f4c739ba27e68d760b92b0ac67caa3a904820819669000d1d1f501ab6066946e0ce51eb4651405e2
|
7
|
+
data.tar.gz: baab0fc1e171d99717087b5c9e1f2107d54966f643b8ee4b29c8865fe7451a08e6ecd1f278a3741862028609e0fb6bc6590324edc348a963699ad2bd3af354e5
|
@@ -3,11 +3,10 @@ class GeneralAbility
|
|
3
3
|
|
4
4
|
def initialize(user)
|
5
5
|
if alpha?(user)
|
6
|
-
can :manage, :
|
6
|
+
can :manage, :hubspot
|
7
7
|
end
|
8
8
|
|
9
9
|
if beta?(user)
|
10
|
-
can :manage, :asana_com
|
11
10
|
end
|
12
11
|
|
13
12
|
if in_country?(user,'Argentina')
|
@@ -15,6 +14,7 @@ class GeneralAbility
|
|
15
14
|
can :manage, :office_argentina
|
16
15
|
end
|
17
16
|
|
17
|
+
can :manage, :asana_com
|
18
18
|
can :see, :mailchimp
|
19
19
|
if petal_enabled?(user,'mailchimp')
|
20
20
|
can :configure, :mailchimp
|
@@ -1,3 +1,4 @@
|
|
1
|
+
<% posts_workplace_url = "https://derosemethod.workplace.com/search/posts/?q=padma" %>
|
1
2
|
<nav class="navbar navbar-inverse">
|
2
3
|
<div class='container'>
|
3
4
|
<div class="navbar-header">
|
@@ -47,24 +48,21 @@
|
|
47
48
|
</a>
|
48
49
|
<ul class="dropdown-menu" role="menu">
|
49
50
|
<li><%= link_to t('header-menu.modules.fnz'), APP_CONFIG['fnz-url'], target: '_blank' %></li>
|
50
|
-
<li><%= link_to
|
51
|
+
<li><%= link_to "Learn DeROSE", "https://learn.derose.co", target: '_blank' %></li>
|
51
52
|
<% if can?(:manage,:asana_com) %>
|
52
53
|
<li><%= link_to t('header-menu.modules.asana_com'), "#{APP_CONFIG['crm-url']}/asana_clients" %></li>
|
53
54
|
<% end %>
|
54
|
-
<% if can?(:manage,:planning) -%>
|
55
|
-
<li><%= link_to t('header-menu.modules.planning'), APP_CONFIG['planning-url'] %></li>
|
56
|
-
<% end -%>
|
57
55
|
<% if can?(:see, :mailchimp) -%>
|
58
56
|
<li><%= link_to t('header-menu.modules.mailchimp_integration'), "#{APP_CONFIG['mailing-url']}/mailchimp/subscription" %></li>
|
59
57
|
<% end -%>
|
60
|
-
<% if can?(:manage, :
|
61
|
-
<li><%= link_to t(
|
58
|
+
<% if can?(:manage, :hubspot) %>
|
59
|
+
<li><%= link_to t("header-menu.modules.hubspot_integration"), "#{APP_CONFIG['crm-url']}/hubspot" %></li>
|
62
60
|
<% end -%>
|
63
61
|
<% if can?(:manage, :office_argentina) -%>
|
64
62
|
<li><%= link_to "Office Argentina", "http://officear.padm.am", target: '_blank' %></li>
|
65
63
|
<% end -%>
|
66
64
|
<li><%= link_to t('header-menu.modules.wordpress_plugin'), 'http://github.com/dwaynemac/padma-wordpress-plugin', target: '_blank' %></li>
|
67
|
-
<li><%= link_to t('header-menu.user_menu.help_center'),
|
65
|
+
<li><%= link_to t('header-menu.user_menu.help_center'), posts_workplace_url, target: '_blank' %></li>
|
68
66
|
</ul>
|
69
67
|
</li>
|
70
68
|
<%= yield :top_left_navigation_menu %>
|
@@ -89,7 +87,7 @@
|
|
89
87
|
<% end -%>
|
90
88
|
<li><%= link_to t('header-menu.user_menu.billing'), "#{APP_CONFIG['accounts-url']}/accounts/#{current_user.current_account.name}/invoices/pending" %></li>
|
91
89
|
<li><%= link_to "Secretaria Virtual", "http://www.metododerose.org/secretariavirtual", target: "_blank" %></li>
|
92
|
-
<li><%= link_to t('header-menu.user_menu.help_center'),
|
90
|
+
<li><%= link_to t('header-menu.user_menu.help_center'), posts_workplace_url, target: '_blank' %></li>
|
93
91
|
<li><%= link_to t('header-menu.user_menu.logout'), logout_url %></li></ul>
|
94
92
|
</li>
|
95
93
|
</ul>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: padma-assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.38
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dwayne Macgowan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -146,8 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
146
146
|
- !ruby/object:Gem::Version
|
147
147
|
version: '0'
|
148
148
|
requirements: []
|
149
|
-
|
150
|
-
rubygems_version: 2.5.2.3
|
149
|
+
rubygems_version: 3.0.1
|
151
150
|
signing_key:
|
152
151
|
specification_version: 4
|
153
152
|
summary: Assets to be re-used in PADMA applications
|