padma-assets 0.3.17 → 0.3.19
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 +5 -5
- 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: 1b77951dd986ef14d191a8c1fc15c737c741b8af3ca9f49600d0be261c5fa3e7
|
4
|
+
data.tar.gz: 5795ea6012976ec35b5ad82b03ee4329dcd00cc2964cf2bdbfc5dc225ea8216b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbc3d53fb6ebd0f141ef5f1c0df401265a848b47852fc9d9ca28c1c000d45f93eb64c6995d32f40352e92f365c3323f1b86d115e865ff3d757ecea1464ca1cd6
|
7
|
+
data.tar.gz: 554b749b4574204c0c7fa86125e4714b2193ddb33c91ef08a4439332665df7d0a42d4e93ffd9e792d4a30bfc775abd71cac2567988c42326bbc2df4941d88c56
|
@@ -1,8 +1,8 @@
|
|
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
|
-
<% if
|
5
|
+
<% if beta %>
|
6
6
|
<%= link_to t("header-menu.stats.pdg_report"),
|
7
7
|
"#{APP_CONFIG['crm-url']}/statistics/accounts/#{curacc.padma.vanity_name}/reports/pedagogic/#{Date.today.year}/#{Date.today.month}" %>
|
8
8
|
<% else %>
|
@@ -11,7 +11,7 @@
|
|
11
11
|
<% end %>
|
12
12
|
</li>
|
13
13
|
<li>
|
14
|
-
<% if
|
14
|
+
<% if beta %>
|
15
15
|
<%= link_to t("header-menu.stats.overmind"),
|
16
16
|
"#{APP_CONFIG['crm-url']}/statistics/accounts/#{curacc.padma.vanity_name}" %>
|
17
17
|
<% else %>
|
@@ -20,7 +20,7 @@
|
|
20
20
|
<% end %>
|
21
21
|
</li>
|
22
22
|
<li>
|
23
|
-
<% if
|
23
|
+
<% if beta %>
|
24
24
|
<%= link_to t("header-menu.stats.teacher_ranking"),
|
25
25
|
"#{APP_CONFIG['crm-url']}/statistics/accounts/#{curacc.padma.vanity_name}/user_rankings" %>
|
26
26
|
<% else %>
|
@@ -30,7 +30,7 @@
|
|
30
30
|
</li>
|
31
31
|
<% end -%>
|
32
32
|
<li>
|
33
|
-
<% if
|
33
|
+
<% if beta %>
|
34
34
|
<%= link_to t("header-menu.stats.schools_ranking"),
|
35
35
|
"#{APP_CONFIG['crm-url']}/statistics/rankings" %>
|
36
36
|
<% else %>
|
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.19
|
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-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|