padma-assets 0.3.16 → 0.3.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/layouts/_stats_list.html.erb +9 -29
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1e6af11baa04c14ccaedb8b6d706fc5804df171770a4ebc9ce393ce73acde80
|
4
|
+
data.tar.gz: '08f3eae37427a029e8719ec34beda2eafa00a5fb3afb9823be2928d87de286ee'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b5bab4bda862018c1975aa15b8765040551558696ff2cd98e248983863b9ddb513e500d6a88a48992e163d1626178354245cf2da3a309222dea44899509d207
|
7
|
+
data.tar.gz: dbf7c9786b8d466b49c7d799763112b237e75e88f46ea259bbd5eb4900041a2f2b3a21e9901d68a0767a8fc0a61f4d10866860882fcec2f6b05b8220a9079d85
|
@@ -1,42 +1,22 @@
|
|
1
1
|
<% curacc = current_user.current_account %>
|
2
|
-
<%
|
2
|
+
<% beta = curacc.respond_to?(:tester_level) ? (curacc.tester_level.in?(%W(alpha beta))) : (curacc.padma.tester_level.in?(%W(alpha beta))) %>
|
3
3
|
<% if curacc && !curacc.name.blank? -%>
|
4
4
|
<li>
|
5
|
-
|
6
|
-
|
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"),
|
10
|
-
"#{APP_CONFIG['overmind-url']}/schools/#{current_user.current_account.name}/reports/pedagogic/#{Date.today.year}/#{Date.today.month}" %>
|
11
|
-
<% end %>
|
5
|
+
<%= link_to t("header-menu.stats.pdg_report"),
|
6
|
+
"#{APP_CONFIG['crm-url']}/statistics/accounts/#{curacc.padma.vanity_name}/reports/pedagogic/#{Date.today.year}/#{Date.today.month}" %>
|
12
7
|
</li>
|
13
8
|
<li>
|
14
|
-
|
15
|
-
|
16
|
-
"#{APP_CONFIG['crm-url']}/statistics/accounts/#{curacc.padma.vanity_name}" %>
|
17
|
-
<% else %>
|
18
|
-
<%= link_to t("header-menu.stats.overmind"),
|
19
|
-
"#{APP_CONFIG['overmind-url']}/schools/pa/#{current_user.current_account.name}" %>
|
20
|
-
<% end %>
|
9
|
+
<%= link_to t("header-menu.stats.overmind"),
|
10
|
+
"#{APP_CONFIG['crm-url']}/statistics/accounts/#{curacc.padma.vanity_name}" %>
|
21
11
|
</li>
|
22
12
|
<li>
|
23
|
-
|
24
|
-
|
25
|
-
"#{APP_CONFIG['crm-url']}/statistics/accounts/#{curacc.padma.vanity_name}/user_rankings" %>
|
26
|
-
<% else %>
|
27
|
-
<%= link_to t("header-menu.stats.teacher_ranking"),
|
28
|
-
"#{APP_CONFIG['overmind-url']}/schools/#{current_user.current_account.name}/teacher_ranking" %>
|
29
|
-
<% end %>
|
13
|
+
<%= link_to t("header-menu.stats.teacher_ranking"),
|
14
|
+
"#{APP_CONFIG['crm-url']}/statistics/accounts/#{curacc.padma.vanity_name}/user_rankings" %>
|
30
15
|
</li>
|
31
16
|
<% end -%>
|
32
17
|
<li>
|
33
|
-
|
34
|
-
|
35
|
-
"#{APP_CONFIG['crm-url']}/statistics/rankings" %>
|
36
|
-
<% else %>
|
37
|
-
<%= link_to t("header-menu.stats.schools_ranking"),
|
38
|
-
"#{APP_CONFIG['overmind-url']}/ranking" %>
|
39
|
-
<% end %>
|
18
|
+
<%= link_to t("header-menu.stats.schools_ranking"),
|
19
|
+
"#{APP_CONFIG['crm-url']}/statistics/rankings" %>
|
40
20
|
</li>
|
41
21
|
<li>
|
42
22
|
<%= link_to t('header-menu.stats.marketing_methods_rankings'),
|
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.
|
4
|
+
version: 0.3.20
|
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-
|
11
|
+
date: 2022-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|