padma-assets 0.3.6 → 0.3.11

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: 92317d616a708f12e57837ef459737ae3e0ca10846137fe6f84552467859f8f6
4
- data.tar.gz: 5b180dc6d4a6c8361f00a8521f652e754d9e031744b3938042f8b8e6e885150d
3
+ metadata.gz: d96ddb20425183256ba0a3aa777cd1b2f3a03d97403473664e4b6bccfb7bfde8
4
+ data.tar.gz: 76af8526cdbb1e390259940a1155e5192ed1a060e55be3314969fb0bba7c6a21
5
5
  SHA512:
6
- metadata.gz: 4c8a5415d580887e96b2de2e84021104bf5d469a53bdc11d326cc84d5e5e567edd9bd69dde00fb7c411315c809c6e459519db9bd0ad5ad0453342686f898b0e6
7
- data.tar.gz: 932b8aadabef77001a1760d0eee8f871561c50741fbadc7dbf479bb135349e6dfd0df6b67d324a115bb688bc28d73688a38496c9bfa9680df7b0d529f4576e81
6
+ metadata.gz: c2c69d39b06b17b33c08b0f035239fdd1192a0490c67c421771a34545bbf9dcde81639d2fb124f49b19225a916549b2bcbee7b435848ad441515fa72d8f15b2e
7
+ data.tar.gz: 18969ee0f4e43e0362ee223c117c2a3011ada38740bfb3077c43a619dfd4a73ff3a168a201c87394b4e290086f5c56ffa2ff9b44e048dbafe2b313749f64c65a
@@ -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')
@@ -2,6 +2,4 @@
2
2
  <li><%= link_to t('header-menu.mailing.triggers'), "#{APP_CONFIG['mailing-url']}/triggers" %></li>
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
- <% if can? :configure, :mailchimp -%>
6
- <li><%= link_to t('header-menu.mailing.mailchimp_configuration'), "#{APP_CONFIG['mailing-url']}/mailchimp/configuration" %></li>
7
- <% end -%>
5
+ <li><%= link_to 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/admin", target: '_blank' %></li>
51
+ <li><%= link_to "Learn DeROSE", "https://learn.derose.app/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,7 @@
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 t('header-menu.modules.mailchimp_integration'), "#{APP_CONFIG['crm-url']}/mailchimp/syncs" %></li>
60
60
  <% end -%>
61
61
  <% if can?(:manage, :hubspot) %>
62
62
  <li><%= link_to t("header-menu.modules.hubspot_integration"), "#{APP_CONFIG['crm-url']}/hubspot" %></li>
@@ -65,7 +65,6 @@
65
65
  <li><%= link_to "Office Argentina", "http://officear.derose.app", target: '_blank' %></li>
66
66
  <% end -%>
67
67
  <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
68
  </ul>
70
69
  </li>
71
70
  <%= 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.6
4
+ version: 0.3.11
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-27 00:00:00.000000000 Z
11
+ date: 2022-01-21 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