padma-assets 0.2.30 → 0.2.32

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
  SHA1:
3
- metadata.gz: 994a7bc2581681702f4d28271ee23636c817c253
4
- data.tar.gz: b3f6666758082b401bc45599aad38138aef9e801
3
+ metadata.gz: bd28c98c7cb09eff921ec16f5dbc754f5663a1a7
4
+ data.tar.gz: c31f0044c5dddcbbaf5271896c0092d7ad55b5df
5
5
  SHA512:
6
- metadata.gz: 2b09a55708e902ac3cdd23fba91e5ed3547745105792dfde5d5261b7dc1028354d58b50e1cd7c0905d739f78dcdbde80ca1efc0d2fd29331f85b9992c385be0f
7
- data.tar.gz: bbf40d525ce16a9318762c8d19b637ab19b6177068a58f770b9eab10ee32bcb44b9e56a615312d97631475dbde6c7b9f54029200039d7b3ecba07fe22eadef0d
6
+ metadata.gz: a3a6bf5f83bd89ced72f70041f1a50a8a2865631c85edbe68a34ab31dbde91942019a7d6cae0576e35ce90d087e2bf4c8f99ccd423948d522605cf270044fecb
7
+ data.tar.gz: e42d44ea1fcb8b2bb6a7cbf4177db9dbc3ff2569d37781082db31de45e723f6368a07d8d2075bb1e30714b26c897f6f3eb233705566221e249e1c66dd3de7cba
@@ -4,6 +4,7 @@ class GeneralAbility
4
4
  def initialize(user)
5
5
  if alpha?(user)
6
6
  can :manage, :planning
7
+ can :manage, :asana_com
7
8
  end
8
9
 
9
10
  if beta?(user)
@@ -11,7 +11,6 @@
11
11
  //= require jquery.tipsy
12
12
  //= require jquery.xdr-transport
13
13
  //= require jquery.quickfilter
14
- //= require mixpanel
15
14
  //= require notifications
16
15
  //= require ux-events
17
16
  //= require cache
@@ -1,6 +1,5 @@
1
1
  @registerEvent = (eventName,meta_data) ->
2
2
  try
3
- mixpanel.track(eventName,meta_data)
4
3
  Intercom('trackEvent',eventName,meta_data)
5
- catch err
4
+ catch err
6
5
  console.error(err)
@@ -48,6 +48,9 @@
48
48
  <ul class="dropdown-menu" role="menu">
49
49
  <li><%= link_to t('header-menu.modules.fnz'), APP_CONFIG['fnz-url'], target: '_blank' %></li>
50
50
  <li><%= link_to '+Friends', 'http://friends.derose.co/admin' %></li>
51
+ <% if can?(:manage,:asana_com) %>
52
+ <li><%= link_to t('header-menu.modules.asana_com'), "#{APP_CONFIG['crm-url']}/asana_clients" %></li>
53
+ <% end %>
51
54
  <% if can?(:manage,:planning) -%>
52
55
  <li><%= link_to t('header-menu.modules.planning'), APP_CONFIG['planning-url'] %></li>
53
56
  <% end -%>
@@ -6,6 +6,7 @@ en:
6
6
  title: Modules
7
7
  fnz: Finances
8
8
  mailchimp_integration: Mailchimp integration
9
+ asana_com: Asana.com integration
9
10
  wordpress_plugin: Wordpress Plugin
10
11
  user_menu:
11
12
  user_profile: My profile
@@ -6,6 +6,7 @@ es:
6
6
  title: Módulos
7
7
  fnz: Financiero
8
8
  planning: Gestión de la rutina
9
+ asana_com: Integración con Asana.com
9
10
  mailchimp_integration: Integración con Mailchimp
10
11
  derose_events: Eventos DeROSE
11
12
  wordpress_plugin: Plugin Wordpress
@@ -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
+ asana_com: Integraçāo com Asana.com
10
11
  derose_events: Eventos DeROSE
11
12
  wordpress_plugin: Plugin Wordpress
12
13
  user_menu:
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.30
4
+ version: 0.2.32
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-04-08 00:00:00.000000000 Z
11
+ date: 2019-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -93,7 +93,6 @@ files:
93
93
  - app/assets/javascripts/jquery.stickyheader.js
94
94
  - app/assets/javascripts/jquery.tipsy.js
95
95
  - app/assets/javascripts/jquery.xdr-transport.js
96
- - app/assets/javascripts/mixpanel.js
97
96
  - app/assets/javascripts/notifications.js.coffee
98
97
  - app/assets/javascripts/padma-assets.js
99
98
  - app/assets/javascripts/ux-events.js.coffee
@@ -1,12 +0,0 @@
1
- (function(f,b){if(!b.__SV){var a,e,i,g;window.mixpanel=b;b._i=[];b.init=function(a,e,d){function f(b,h){var a=h.split(".");2==a.length&&(b=b[a[0]],h=a[1]);b[h]=function(){b.push([h].concat(Array.prototype.slice.call(arguments,0)))}}var c=b;"undefined"!==typeof d?c=b[d]=[]:d="mixpanel";c.people=c.people||[];c.toString=function(b){var a="mixpanel";"mixpanel"!==d&&(a+="."+d);b||(a+=" (stub)");return a};c.people.toString=function(){return c.toString(1)+".people (stub)"};i="disable track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config people.set people.set_once people.increment people.append people.union people.track_charge people.clear_charges people.delete_user".split(" ");
2
- for(g=0;g<i.length;g++)f(c,i[g]);b._i.push([a,e,d])};b.__SV=1.2;a=f.createElement("script");a.type="text/javascript";a.async=!0;a.src="undefined"!==typeof MIXPANEL_CUSTOM_LIB_URL?MIXPANEL_CUSTOM_LIB_URL:"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js";e=f.getElementsByTagName("script")[0];e.parentNode.insertBefore(a,e)}})(document,window.mixpanel||[]);
3
-
4
- var productionHost = 'padm.am';
5
- // var devToken = 'Development Token';
6
- var prodToken = "8a41f28fa506ef453bec6df49eb4c18c";
7
- /* If the hostname is anything other than your production domain, initialize the Mixpanel library with your Development Token */
8
- if (window.location.hostname.toLowerCase().search(productionHost) < 0) {
9
- // mixpanel.init(devToken);
10
- } else {
11
- mixpanel.init(prodToken);
12
- }