padma-assets 0.2.30 → 0.2.32
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 +4 -4
- data/app/abilities/general_ability.rb +1 -0
- data/app/assets/javascripts/padma-assets.js +0 -1
- data/app/assets/javascripts/ux-events.js.coffee +1 -2
- data/app/views/layouts/_module_box.html.erb +3 -0
- data/config/locales/header-menu.en.yml +1 -0
- data/config/locales/header-menu.es.yml +1 -0
- data/config/locales/header-menu.pt-BR.yml +1 -0
- metadata +2 -3
- data/app/assets/javascripts/mixpanel.js +0 -12
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bd28c98c7cb09eff921ec16f5dbc754f5663a1a7
|
|
4
|
+
data.tar.gz: c31f0044c5dddcbbaf5271896c0092d7ad55b5df
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a3a6bf5f83bd89ced72f70041f1a50a8a2865631c85edbe68a34ab31dbde91942019a7d6cae0576e35ce90d087e2bf4c8f99ccd423948d522605cf270044fecb
|
|
7
|
+
data.tar.gz: e42d44ea1fcb8b2bb6a7cbf4177db9dbc3ff2569d37781082db31de45e723f6368a07d8d2075bb1e30714b26c897f6f3eb233705566221e249e1c66dd3de7cba
|
|
@@ -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 -%>
|
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.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-
|
|
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
|
-
}
|