padma-assets 0.3.5 → 0.3.10

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: 5cce9ec66aec5be83e2e6062ee7d496f4be13587c7c9d1828c11a10540c8823c
4
- data.tar.gz: db702e8c1677762fb9eafd68fa488bbb4ac18e2d37a3d2fb740185f83a0e2110
3
+ metadata.gz: 1862314adcd6a4c0521ce0dc88f5a462be04c65b78e3405f453fae871fc1f9d5
4
+ data.tar.gz: 6c31459e2d5e3fe3ac11a46d4e3e94ac3ef20d4cb730d340d253ab6eb35a0a8a
5
5
  SHA512:
6
- metadata.gz: 68e55ab43bec90ecc2a91ff7d8ddfd6973065af0a39f7b409d7acea1a0ba112b3fced82d4c723de0a2cadc7730a37f5b2c76a3724c631a21d1bbe11305462642
7
- data.tar.gz: 35d65b51dfedc73e089a367c6334207da37229235da6e5167e37fb525ae27495dd5a4f3d9245c69e8cfb765fb6d37c63c47466f5e4ff0af5f7b7e4d59346497c
6
+ metadata.gz: 6c484af2540081bcb21ee05ac9a1fe1c224e9b051387fec2933027b67bbd0da40af4e390f697ca5a792ce69c1cb0425028eeca78b26e204a3d7e86d4e1365ed6
7
+ data.tar.gz: b6d69ef17101ec6947a5e7b573d407fcce5880897296c17f887a829d5e5e80715ad865f19e7d9b8fbcb058b6e985d27abce6040dadf24081fe0c8cb53648d014
@@ -3,10 +3,10 @@ class GeneralAbility
3
3
 
4
4
  def initialize(user)
5
5
  if alpha?(user)
6
- can :manage, :hubspot
7
6
  end
8
7
 
9
8
  if beta?(user)
9
+ can :manage, :hubspot
10
10
  end
11
11
 
12
12
  if in_country?(user,'Argentina')
@@ -3,5 +3,6 @@
3
3
  <li><%= link_to t('header-menu.mailing.scheduled_mails_all'), "#{APP_CONFIG['mailing-url']}/scheduled_mails/history" %></li>
4
4
  <li><%= link_to t('header-menu.mailing.scheduled_mails_future'), "#{APP_CONFIG['mailing-url']}/scheduled_mails/pending" %></li>
5
5
  <% if can? :configure, :mailchimp -%>
6
- <li><%= link_to t('header-menu.mailing.mailchimp_configuration'), "#{APP_CONFIG['mailing-url']}/mailchimp/configuration" %></li>
6
+ <li><%= link_to "OLD - "+t('header-menu.mailing.mailchimp_configuration'), "#{APP_CONFIG['mailing-url']}/mailchimp/configuration" %></li>
7
7
  <% end -%>
8
+ <li><%= link_to "NEW - "+t('header-menu.mailing.mailchimp_configuration'), "#{APP_CONFIG['crm-url']}/mailchimp/syncs" %></li>
@@ -1,4 +1,4 @@
1
- <% posts_workplace_url = "https://derosemethod.workplace.com/search/posts/?q=padma" %>
1
+ <% posts_workplace_url = "https://derosemethod.workplace.com/groups/395273144964377" %>
2
2
  <nav class="navbar navbar-inverse">
3
3
  <div class='container'>
4
4
  <div class="navbar-header">
@@ -48,7 +48,7 @@
48
48
  </a>
49
49
  <ul class="dropdown-menu" role="menu">
50
50
  <li><%= link_to t('header-menu.modules.fnz'), APP_CONFIG['fnz-url'], target: '_blank' %></li>
51
- <li><%= link_to "Learn DeROSE", "https://learn.derose.co", target: '_blank' %></li>
51
+ <li><%= link_to "Learn DeROSE", "https://learn.derose.co/admin", target: '_blank' %></li>
52
52
  <% if can?(:manage,:asana_com) %>
53
53
  <li><%= link_to t('header-menu.modules.asana_com'), "#{APP_CONFIG['crm-url']}/asana_clients" %></li>
54
54
  <% end %>
@@ -56,7 +56,10 @@
56
56
  <li><%= link_to t('header-menu.modules.notion'), "#{APP_CONFIG['crm-url']}/notion/syncs" %></li>
57
57
  <% end %>
58
58
  <% if can?(:see, :mailchimp) -%>
59
- <li><%= link_to t('header-menu.modules.mailchimp_integration'), "#{APP_CONFIG['mailing-url']}/mailchimp/subscription" %></li>
59
+ <li><%= link_to "OLD - "+t('header-menu.modules.mailchimp_integration'), "#{APP_CONFIG['mailing-url']}/mailchimp/subscription" %></li>
60
+ <% end -%>
61
+ <% if can?(:see, :mailchimp) -%>
62
+ <li><%= link_to "NEW - "+t('header-menu.modules.mailchimp_integration'), "#{APP_CONFIG['crm-url']}/mailchimp/syncs" %></li>
60
63
  <% end -%>
61
64
  <% if can?(:manage, :hubspot) %>
62
65
  <li><%= link_to t("header-menu.modules.hubspot_integration"), "#{APP_CONFIG['crm-url']}/hubspot" %></li>
@@ -65,7 +68,6 @@
65
68
  <li><%= link_to "Office Argentina", "http://officear.derose.app", target: '_blank' %></li>
66
69
  <% end -%>
67
70
  <li><%= link_to t('header-menu.modules.wordpress_plugin'), 'http://github.com/dwaynemac/padma-wordpress-plugin', target: '_blank' %></li>
68
- <li><%= link_to t('header-menu.user_menu.help_center'), posts_workplace_url, target: '_blank' %></li>
69
71
  </ul>
70
72
  </li>
71
73
  <%= yield :top_left_navigation_menu %>
@@ -0,0 +1,12 @@
1
+ <style>
2
+ #PadmaSupportHub #emailButton {
3
+ position: fixed;
4
+ right: 20px;
5
+ bottom: 20px;
6
+ width: 50px;
7
+ opacity: 0.85;
8
+ }
9
+ </style>
10
+ <div id="PadmaSupportHub">
11
+ <%= link_to image_tag("681171_email_512x512.png", id: "emailButton"), "mailto:#{ENV["support_email"]}", target: "_blank" %>
12
+ </div>
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.3.5
4
+ version: 0.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dwayne Macgowan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-21 00:00:00.000000000 Z
11
+ date: 2022-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -47,6 +47,7 @@ files:
47
47
  - app/assets/fonts/glyphicons-halflings-regular.ttf
48
48
  - app/assets/fonts/glyphicons-halflings-regular.woff
49
49
  - app/assets/fonts/glyphicons-halflings-regular.woff2
50
+ - app/assets/images/681171_email_512x512.png
50
51
  - app/assets/images/arrow_down.png
51
52
  - app/assets/images/arrow_up.png
52
53
  - app/assets/images/glyphicons-halflings-white.png
@@ -110,6 +111,7 @@ files:
110
111
  - app/views/layouts/_mailing_menu.html.erb
111
112
  - app/views/layouts/_module_box.html.erb
112
113
  - app/views/layouts/_stats_list.html.erb
114
+ - app/views/layouts/_support_button.html.erb
113
115
  - config/locales/header-menu.en.yml
114
116
  - config/locales/header-menu.es.yml
115
117
  - config/locales/header-menu.pt-BR.yml