meurio_ui 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 3cd82839dd84b77fa2f2aafc4a55d68cf18fc4d0
4
+ data.tar.gz: 5b600ad32a80e12b1b734d5d4fcd478cdde71fbb
5
+ SHA512:
6
+ metadata.gz: 03d170d23c6ac0d721c8868cc1d524f8133ca785e4013f006530215f80148a0a69840b8f914ebe26c4fc1fa5ef738cf0cd88b44c6b000bc15e106a81552f44e1
7
+ data.tar.gz: 8b54d691eb42415be29168cbb69b70f5759e0b65aeb4f7cdf574bc6553c6158b494ac57881eadcf204fbb7c9de820971ccf69a2aafc7641705c6ca55448f2868
@@ -112,6 +112,7 @@ a.hollow_btn
112
112
  border: 1px solid white
113
113
  padding: 5px 10px
114
114
  font-weight: bold
115
+ font-size: 14px
115
116
  +border-radius(3px)
116
117
  &:hover
117
118
  color: $green
@@ -2,21 +2,22 @@ header.meurio_header
2
2
  .meurio_logo_and_user_menu
3
3
  .row
4
4
  .meurio_logo= link_to image_tag('meurio.png'), 'http://meurio.org.br/'
5
- - if @app == :pdp
5
+ - if @app == :pdp or @app == :mr20
6
6
  .user_menu
7
7
  - if current_user.present?
8
8
  .current_user
9
9
  = image_tag(current_user.avatar_url)
10
10
  = current_user.name
11
- = content_tag(:span, nil, class: 'icon-triangle-down')
12
- .current_user_links
13
- = link_to('Minhas campanhas', user_campaigns_path(current_user))
14
- - if can?(:moderate, Campaign)
15
- = link_to 'Moderar campanhas', unmoderated_campaigns_path
16
- - if can?(:export, User)
17
- = link_to "Exportar todos os usuários", users_path(:format => :csv)
11
+ = content_tag(:span, nil, class: 'icon-triangle-down') if @app == :pdp
12
+ - if @app == :pdp
13
+ .current_user_links
14
+ = link_to('Minhas campanhas', user_campaigns_path(current_user))
15
+ - if can?(:moderate, Campaign)
16
+ = link_to 'Moderar campanhas', unmoderated_campaigns_path
17
+ - if can?(:export, User)
18
+ = link_to "Exportar todos os usuários", users_path(:format => :csv)
18
19
  - else
19
- = link_to 'Entrar', "http://accounts.meurio.org.br/?redirect_url=#{request.url}", class: :hollow_btn
20
+ = link_to 'Entrar', "http://accounts.meurio.org.br/?redirect_url=#{request.url}", class: :hollow_btn
20
21
  .clear
21
22
 
22
23
  .meurio_apps_and_application_menu
@@ -1,5 +1,5 @@
1
1
  module MeurioUi
2
2
  module Rails
3
- VERSION = "1.3.0"
3
+ VERSION = "1.3.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,46 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meurio_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
5
- prerelease:
4
+ version: 1.3.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Nícolas Iensen
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-11-25 00:00:00.000000000 Z
11
+ date: 2013-11-26 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: bundler
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: '1.3'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: '1.3'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rake
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  description: Meu Rio UI is a Rails engine that provides user interface components
@@ -51,7 +46,7 @@ executables: []
51
46
  extensions: []
52
47
  extra_rdoc_files: []
53
48
  files:
54
- - .gitignore
49
+ - ".gitignore"
55
50
  - Gemfile
56
51
  - LICENSE.txt
57
52
  - README.md
@@ -77,26 +72,25 @@ files:
77
72
  homepage: https://github.com/meurio/meurio_ui
78
73
  licenses:
79
74
  - MIT
75
+ metadata: {}
80
76
  post_install_message:
81
77
  rdoc_options: []
82
78
  require_paths:
83
79
  - lib
84
80
  required_ruby_version: !ruby/object:Gem::Requirement
85
- none: false
86
81
  requirements:
87
- - - ! '>='
82
+ - - ">="
88
83
  - !ruby/object:Gem::Version
89
84
  version: '0'
90
85
  required_rubygems_version: !ruby/object:Gem::Requirement
91
- none: false
92
86
  requirements:
93
- - - ! '>='
87
+ - - ">="
94
88
  - !ruby/object:Gem::Version
95
89
  version: '0'
96
90
  requirements: []
97
91
  rubyforge_project:
98
- rubygems_version: 1.8.23
92
+ rubygems_version: 2.1.10
99
93
  signing_key:
100
- specification_version: 3
94
+ specification_version: 4
101
95
  summary: Default UI elements for Meu Rio projects
102
96
  test_files: []