padma-assets 0.1.27 → 0.1.28

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: f8c5bd9a8665dacbe704c9d5acf8f8cdc7058715
4
- data.tar.gz: c16fcbd9a06bdf08e2ac8d216257303e9759b3b7
3
+ metadata.gz: d1b6b2a8c0afdc641d1e69d747f32c469ce78361
4
+ data.tar.gz: 2ac6312d23bb98085777924411626cc632bff0b0
5
5
  SHA512:
6
- metadata.gz: d6733f1bad7d154823432bd91e6d8c4f1d1b2417c1e7964713b26a0e20f9260a30a1638fea7f4ec092f6ac4d0521d2e98cb11f0f7d306d8cffa7c3570f1d597c
7
- data.tar.gz: e62535220c1142cf8df6545859dcbb8777e613a7e875345d17a12c70c2510f8f429c0b5079946776e21593bcdfc80268dcece04bb302a03e2bcb9120d9726205
6
+ metadata.gz: f2f31eff58d77531b288fcc08c0533021dc76274daf78be5b8f0fec78ed9f3e97246880f1c80da52a9a00f938005f3e0d1a31cc8390ed98641b667265b2eefae
7
+ data.tar.gz: 6450f08a0ee1fa5d01c61b5612c7b58e1796ab5163772916016b1e2c15bbb3d6c5ab8bff76a4347fb1a8263dab22672958ccfe6a8986145ced5e6a93b4ea347d
@@ -4,6 +4,7 @@ class GeneralAbility
4
4
  def initialize(user)
5
5
  if alpha?(user)
6
6
  can :manage, :mailchimp
7
+ can :manage, :planning
7
8
  end
8
9
  if beta?(user)
9
10
  can :manage, :persistent_contact_searches
@@ -37,7 +37,12 @@
37
37
  </li>
38
38
 
39
39
  <li> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><%= t('header-menu.modules.title') %> <span class="caret"></span></a>
40
- <ul class="dropdown-menu" role="menu"> <li><%= link_to t('header-menu.modules.fnz'), APP_CONFIG['fnz-url'] %></li></ul>
40
+ <ul class="dropdown-menu" role="menu">
41
+ <li><%= link_to t('header-menu.modules.fnz'), APP_CONFIG['fnz-url'] %></li>
42
+ <% if can?(:manage, :planning) %>
43
+ <li><%= link_to t('header-menu.modules.planning'), APP_CONFIG['planning-url'] %></li>
44
+ <% end %>
45
+ </ul>
41
46
  </li>
42
47
  </ul>
43
48
  <ul class="nav navbar-nav navbar-right">
@@ -5,6 +5,7 @@ es:
5
5
  modules:
6
6
  title: Módulos
7
7
  fnz: Financiero
8
+ planning: Gestión de la rutina
8
9
  user_menu:
9
10
  user_profile: Mi perfil
10
11
  school_profile: Configuración Equipo
@@ -5,6 +5,7 @@ pt-BR:
5
5
  modules:
6
6
  title: Módulos
7
7
  fnz: Financeiro
8
+ planning: Gestāo da Rutina
8
9
  user_menu:
9
10
  user_profile: Meu perfil
10
11
  school_profile: Configuraçāo da equipe
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.1.27
4
+ version: 0.1.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dwayne Macgowan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-24 00:00:00.000000000 Z
11
+ date: 2015-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties