padma-assets 0.2.33 → 0.2.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 884ee78924be62842385b78456f0e590688481d7
4
- data.tar.gz: f9c57fe50bfe39fe991daeda1b96239132140d2d
2
+ SHA256:
3
+ metadata.gz: 5ae5a580da7b0cbf2547c2d7d8f56a2d351b2fdcf019edaea34f4cf6db4d7478
4
+ data.tar.gz: a8418e084659e2afc706a2eb7ef99771cb63d957ed514a6749776356b98744db
5
5
  SHA512:
6
- metadata.gz: 3d494581d8837865e80a16342c0d7d19291110c2954cac21de144fbeb45ea6775aeb8549d346602c1fe15dab41b6f8d80851fd886daa253cc716ed8457dea93d
7
- data.tar.gz: 2887c81a0998e2b3d292e41475aa0b20b96ccef86305c284029b35660205b45221af55945a6c1155e46739010fedc203ecaf31e38925af386e02141dc23953fc
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, :planning
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 '+Friends', 'http://friends.derose.co/admin' %></li>
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, :derose_events) -%>
61
- <li><%= link_to t('header-menu.modules.derose_events'), "http://www.derose.events/admin", target: '_blank' %></li>
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'), 'http://help.padm.am', target: '_blank' %></li>
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'), 'http://help.padm.am', target: '_blank' %></li>
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>
@@ -7,6 +7,7 @@ en:
7
7
  fnz: Finances
8
8
  mailchimp_integration: Mailchimp integration
9
9
  asana_com: Asana.com integration
10
+ hubspot_integration: HubSpot integration
10
11
  wordpress_plugin: Wordpress Plugin
11
12
  user_menu:
12
13
  user_profile: My profile
@@ -8,6 +8,7 @@ es:
8
8
  planning: Gestión de la rutina
9
9
  asana_com: Integración con Asana.com
10
10
  mailchimp_integration: Integración con Mailchimp
11
+ hubspot_integration: Integración con HubSpot
11
12
  derose_events: Eventos DeROSE
12
13
  wordpress_plugin: Plugin Wordpress
13
14
  user_menu:
@@ -7,6 +7,7 @@ pt-BR:
7
7
  fnz: Financeiro
8
8
  planning: Gestāo da Rutina
9
9
  mailchimp_integration: Integraçāo com Mailchimp
10
+ hubspot_integration: Integração com HubSpot
10
11
  asana_com: Integraçāo com Asana.com
11
12
  derose_events: Eventos DeROSE
12
13
  wordpress_plugin: Plugin Wordpress
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.33
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: 2019-07-15 00:00:00.000000000 Z
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
- rubyforge_project:
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