padma-assets 0.2.24 → 0.2.25

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
  SHA1:
3
- metadata.gz: 005dd4059bbe986afb545f62b6b799e0b1ad9842
4
- data.tar.gz: c1b46113616d5267f55fb63bc451a3294229c1cc
3
+ metadata.gz: c0cbd6b6cdd1b57e8f6a2e42cd6be21efa76f0b5
4
+ data.tar.gz: ea9829905e7e974736497ae92c5302ac77a558a1
5
5
  SHA512:
6
- metadata.gz: 75c4cbc0b395f9dccf4420d43b6128fba6b7ba3b36aa366f096d7479c1ebe9398d4b3bf031ec5b64a1eff4ba363a0a0f54797cbb1a70fe906b265307c044c708
7
- data.tar.gz: 79cf79913c47a7c93b07a802411edaf0162165552af00bc09ef267e36b87ec50629e8eacb951c6cdfdbf87e10325e93c16279f7ca0d5ea676552bdf0c2fcd7e0
6
+ metadata.gz: e7769f52fd78592dd9eefd0d39c2ac49f531796ed724a30193d19d92e097d5f87177fd736410f6a0d5564845d3791f0efbdacba9ad95e80467d203e9723c11b8
7
+ data.tar.gz: 943dc7b4711db54117d4c5aa79a109009f22de83e657089ed4d0e3ba5cc9197f79fa8828304ac6f697df6f459b0531d4b326ec71b50aa72180e6123d2995de0c
@@ -1,4 +1,5 @@
1
- <% if current_user.current_account -%>
1
+ <% curacc = current_user.current_account %>
2
+ <% if curacc && !curacc.name.blank? -%>
2
3
  <li>
3
4
  <%= link_to t("header-menu.stats.pdg_report"),
4
5
  "#{APP_CONFIG['overmind-url']}/schools/#{current_user.current_account.name}/reports/pedagogic/#{Date.today.year}/#{Date.today.month}" %>
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.2.24
4
+ version: 0.2.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dwayne Macgowan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-03 00:00:00.000000000 Z
11
+ date: 2017-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties