padma-assets 0.3.20 → 0.3.21

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: d1e6af11baa04c14ccaedb8b6d706fc5804df171770a4ebc9ce393ce73acde80
4
- data.tar.gz: '08f3eae37427a029e8719ec34beda2eafa00a5fb3afb9823be2928d87de286ee'
3
+ metadata.gz: 983faa76205d3d80b64a54419ee1704cf859a648b34a1fa8a00d395a8437658f
4
+ data.tar.gz: '05974cdf0330e1c1750221c6cf263e793f49b561c226b3b1fc1a0d012cf722b6'
5
5
  SHA512:
6
- metadata.gz: 6b5bab4bda862018c1975aa15b8765040551558696ff2cd98e248983863b9ddb513e500d6a88a48992e163d1626178354245cf2da3a309222dea44899509d207
7
- data.tar.gz: dbf7c9786b8d466b49c7d799763112b237e75e88f46ea259bbd5eb4900041a2f2b3a21e9901d68a0767a8fc0a61f4d10866860882fcec2f6b05b8220a9079d85
6
+ metadata.gz: 8c7c1342a994dc566aa3ce5e6dd7f8fab971821991978c7fe0d1f265f91e8b4a005a6e11588518bb431267edc12895b1466f9e3a2c35dc4407888cd00d2b54e4
7
+ data.tar.gz: 9b7def6ed79c04a12897b9579cb3bc34c6f75ed67f75f9a2ee4641dc9930e5b1526d10bbb30e5a1fcfc38fdbe31398a760cc3b2d8a88c1b25fd05f9e21695b7b
@@ -1,5 +1,7 @@
1
- <li><%= link_to t('header-menu.mailing.templates'), "#{APP_CONFIG['mailing-url']}/templates" %></li>
2
- <li><%= link_to t('header-menu.mailing.triggers'), "#{APP_CONFIG['mailing-url']}/triggers" %></li>
3
- <li><%= link_to t('header-menu.mailing.scheduled_mails_all'), "#{APP_CONFIG['mailing-url']}/scheduled_mails/history" %></li>
4
- <li><%= link_to t('header-menu.mailing.scheduled_mails_future'), "#{APP_CONFIG['mailing-url']}/scheduled_mails/pending" %></li>
1
+ <% local_mailing = current_user.current_account.respond_to?(:padma)? current_user.current_account.padma.local_mailing : current_user.current_account.local_mailing %>
2
+ <% mailing_url = (local_mailing)? "#{APP_CONFIG['crm-url']}/mailing" : APP_CONFIG['mailing-url'] %>
3
+ <li><%= link_to t('header-menu.mailing.templates'), "#{mailing_url}/templates" %></li>
4
+ <li><%= link_to t('header-menu.mailing.triggers'), "#{mailing_url}/triggers" %></li>
5
+ <li><%= link_to t('header-menu.mailing.scheduled_mails_all'), "#{mailing_url}/scheduled_mails/history" %></li>
6
+ <li><%= link_to t('header-menu.mailing.scheduled_mails_future'), "#{mailing_url}/scheduled_mails/pending" %></li>
5
7
  <li><%= link_to t('header-menu.mailing.mailchimp_configuration'), "#{APP_CONFIG['crm-url']}/mailchimp/syncs" %></li>
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.20
4
+ version: 0.3.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dwayne Macgowan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-03 00:00:00.000000000 Z
11
+ date: 2022-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties