padma-assets 0.3.13 → 0.3.16

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: 754906c4193ad8dd2bfc56f2db515c5e792650ca239108751d4b6375e5da98ec
4
- data.tar.gz: 774dbcdf06965a7984546e722fa1d4c50b30e1dac632b898a20319b41ec208a7
3
+ metadata.gz: e56d9bf738136dcbb9781889b35bd325f42efdf36937ed6120180116adf15e90
4
+ data.tar.gz: 9db60110cfbdf6546749a154e85f4e12fb0711c35417c147d7d4ba47525833c5
5
5
  SHA512:
6
- metadata.gz: 9964eae22dda5f99b2f1e1b14634b11d32927cc30e7568309ca637c60ed0c1f90cdaf4ed0773dcf7cb5ecdaa40d783b8c5ba802402c790b56150d3bf270e7421
7
- data.tar.gz: 8a1389fb839ac29d3f0948dfcb401ef538f6e138d07703302197bb05da09acb86b23029afa5e17ad06fcfad894a473b95ba396f273100083d13afc55cb91ed1e
6
+ metadata.gz: 2f99d854b703eb17add2eaa8a17bfa4d1bb034acfb9bd7f70476a4c83e1c989cea942360903db508881053042ad84b61afd4e0fbe639e0a511044d494931f071
7
+ data.tar.gz: 9f1ccfadf4d60137224abd0dd4b12b54071acd3510a8da91b90adcce2edbd767d426248034f315188fa5171ef6d7d1cd7d416d876835d93ca1d315411bb6853d
@@ -1,4 +1,3 @@
1
- <% posts_workplace_url = "https://derosemethod.workplace.com/groups/395273144964377" %>
2
1
  <nav class="navbar navbar-inverse">
3
2
  <div class='container'>
4
3
  <div class="navbar-header">
@@ -76,7 +75,7 @@
76
75
  <li><%= link_to t('header-menu.user_menu.school_profile'), "#{APP_CONFIG['accounts-url']}/accounts/#{current_user.current_account.name}" %></li>
77
76
  <% end -%>
78
77
  <li><%= link_to t('header-menu.user_menu.billing'), "#{APP_CONFIG['accounts-url']}/accounts/#{current_user.current_account.name}/invoices/pending" %></li>
79
- <li><%= link_to t('header-menu.user_menu.help_center'), posts_workplace_url, target: '_blank' %></li>
78
+ <li><%= link_to t('header-menu.user_menu.help_center'), "https://help.derose.app", target: '_blank' %></li>
80
79
  <li><%= link_to t('header-menu.user_menu.logout'), logout_url %></li></ul>
81
80
  </li>
82
81
  </ul>
@@ -1,21 +1,42 @@
1
1
  <% curacc = current_user.current_account %>
2
+ <% alpha = (curacc.padma.tester_level == 'alpha') %>
2
3
  <% if curacc && !curacc.name.blank? -%>
3
4
  <li>
4
- <%= link_to t("header-menu.stats.pdg_report"),
5
+ <% if alpha %>
6
+ <%= link_to t("header-menu.stats.pdg_report"),
7
+ "#{APP_CONFIG['crm-url']}/statistics/accounts/#{curacc.padma.vanity_name}/reports/pedagogic/#{Date.today.year}/#{Date.today.month}" %>
8
+ <% else %>
9
+ <%= link_to t("header-menu.stats.pdg_report"),
5
10
  "#{APP_CONFIG['overmind-url']}/schools/#{current_user.current_account.name}/reports/pedagogic/#{Date.today.year}/#{Date.today.month}" %>
11
+ <% end %>
6
12
  </li>
7
13
  <li>
8
- <%= link_to t("header-menu.stats.overmind"),
14
+ <% if alpha %>
15
+ <%= link_to t("header-menu.stats.overmind"),
16
+ "#{APP_CONFIG['crm-url']}/statistics/accounts/#{curacc.padma.vanity_name}" %>
17
+ <% else %>
18
+ <%= link_to t("header-menu.stats.overmind"),
9
19
  "#{APP_CONFIG['overmind-url']}/schools/pa/#{current_user.current_account.name}" %>
20
+ <% end %>
10
21
  </li>
11
22
  <li>
12
- <%= link_to t("header-menu.stats.teacher_ranking"),
23
+ <% if alpha %>
24
+ <%= link_to t("header-menu.stats.teacher_ranking"),
25
+ "#{APP_CONFIG['crm-url']}/statistics/accounts/#{curacc.padma.vanity_name}/user_rankings" %>
26
+ <% else %>
27
+ <%= link_to t("header-menu.stats.teacher_ranking"),
13
28
  "#{APP_CONFIG['overmind-url']}/schools/#{current_user.current_account.name}/teacher_ranking" %>
29
+ <% end %>
14
30
  </li>
15
31
  <% end -%>
16
32
  <li>
17
- <%= link_to t("header-menu.stats.schools_ranking"),
33
+ <% if alpha %>
34
+ <%= link_to t("header-menu.stats.schools_ranking"),
35
+ "#{APP_CONFIG['crm-url']}/statistics/rankings" %>
36
+ <% else %>
37
+ <%= link_to t("header-menu.stats.schools_ranking"),
18
38
  "#{APP_CONFIG['overmind-url']}/ranking" %>
39
+ <% end %>
19
40
  </li>
20
41
  <li>
21
42
  <%= link_to t('header-menu.stats.marketing_methods_rankings'),
@@ -8,5 +8,5 @@
8
8
  }
9
9
  </style>
10
10
  <div id="PadmaSupportHub">
11
- <%= link_to image_tag("681171_email_512x512.png", id: "emailButton"), "mailto:#{ENV["support_email"]}", target: "_blank" %>
12
- </div>
11
+ <%= link_to image_tag("icons8-help-100.png", id: "emailButton"), "https://help.derose.app", 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.13
4
+ version: 0.3.16
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-03-16 00:00:00.000000000 Z
11
+ date: 2022-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -47,7 +47,6 @@ 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
51
50
  - app/assets/images/arrow_down.png
52
51
  - app/assets/images/arrow_up.png
53
52
  - app/assets/images/glyphicons-halflings-white.png
@@ -58,6 +57,7 @@ files:
58
57
  - app/assets/images/gritter-long.png
59
58
  - app/assets/images/gritter-red.png
60
59
  - app/assets/images/gritter.png
60
+ - app/assets/images/icons8-help-100.png
61
61
  - app/assets/images/ie-spacer.gif
62
62
  - app/assets/images/logo-padma-w.png
63
63
  - app/assets/images/search.svg