padma-assets 0.3.25 → 0.3.27
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9294bfe13de94a0293d69f6e6254eb20d2de98b47b9c90e82f4ddd1b3e81460
|
4
|
+
data.tar.gz: 8da9c3487a95600ba6e25373e9250a5806f9b7e505e2b95eddb130e2ddb842f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e05eaa5e1b9cf0e9b3010936dfd0029dde4d819b01fd41e634d009becb6e743d0a3ef54db8a74448cf3e690445a4bdec0c46ea991422cf1fd475a991e3e34770
|
7
|
+
data.tar.gz: a3f12090a19f933bb514b1d120e59c9587875540b0990e8146d8c1464042fb905ffc4ab816aac24213513401f37065d7ea1bf2af5e976873b7202c33cf84248d
|
@@ -1,5 +1,4 @@
|
|
1
|
-
<%
|
2
|
-
<% mailing_url = (local_mailing)? "#{APP_CONFIG['crm-url']}/mailing" : APP_CONFIG['mailing-url'] %>
|
1
|
+
<% mailing_url = "#{APP_CONFIG['crm-url']}/mailing" %>
|
3
2
|
<li><%= link_to t('header-menu.mailing.templates'), "#{mailing_url}/templates" %></li>
|
4
3
|
<li><%= link_to t('header-menu.mailing.addresses'), "#{mailing_url}/addresses" %></li>
|
5
4
|
<li><%= link_to t('header-menu.mailing.triggers'), "#{mailing_url}/triggers" %></li>
|
@@ -1,16 +1,17 @@
|
|
1
1
|
<% curacc = current_user.current_account %>
|
2
|
+
<% vanity_name = curacc.try(:vanity_name) || curacc.try(:padma).try(:vanity_name) || curacc.name %>
|
2
3
|
<% if curacc && !curacc.name.blank? -%>
|
3
4
|
<li>
|
4
5
|
<%= link_to t("header-menu.stats.pdg_report"),
|
5
|
-
"#{APP_CONFIG['crm-url']}/statistics/accounts/#{
|
6
|
+
"#{APP_CONFIG['crm-url']}/statistics/accounts/#{vanity_name}/reports/pedagogic/#{Date.today.year}/#{Date.today.month}" %>
|
6
7
|
</li>
|
7
8
|
<li>
|
8
9
|
<%= link_to t("header-menu.stats.overmind"),
|
9
|
-
"#{APP_CONFIG['crm-url']}/statistics/accounts/#{
|
10
|
+
"#{APP_CONFIG['crm-url']}/statistics/accounts/#{vanity_name}" %>
|
10
11
|
</li>
|
11
12
|
<li>
|
12
13
|
<%= link_to t("header-menu.stats.teacher_ranking"),
|
13
|
-
"#{APP_CONFIG['crm-url']}/statistics/accounts/#{
|
14
|
+
"#{APP_CONFIG['crm-url']}/statistics/accounts/#{vanity_name}/user_rankings" %>
|
14
15
|
</li>
|
15
16
|
<% end -%>
|
16
17
|
<li>
|