meurio_ui 1.4.13 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/mrui_deolho2.png +0 -0
- data/app/assets/images/mrui_legislando.png +0 -0
- data/app/assets/stylesheets/meurio_ui/meurio_header.css.sass +3 -1
- data/app/views/meurio_ui/meurio_header.html.slim +2 -2
- data/lib/meurio_ui/version.rb +1 -1
- data/lib/meurio_ui/view_helpers.rb +4 -3
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef205642057e5b6da8c64b62846e8bdbecd427ce
|
4
|
+
data.tar.gz: d7ca45619efcfd0466fd839274e61481dc593d2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5860df846763e3a25d8a0e53208372c3d2aad41613cbae24e886428b25b788d371fa40bb08d66670a71321996d8e0b05d9c87cf90deb86d63f2a6dbf5e9f30e1
|
7
|
+
data.tar.gz: 0e9573b457bd4b45c223a0d0c38ebbb44cde2bbb9be64f64caab4a2968e4efdc2a5f6649eef2a5219c317e8ab4b9e492cbb1d61229a22bc307843af940896b89
|
Binary file
|
Binary file
|
@@ -12,7 +12,7 @@
|
|
12
12
|
li= link_to image_tag('mrui_minhasampa.png'), "http://www.nossascidades.org/organizations/2", target: :blank, class: :organization
|
13
13
|
li.divider
|
14
14
|
li.has-form= link_to "Seja um(a) fundador(a)", "#{ENV['MEURIO_HOST']}/founders", class: [:button, :radius]
|
15
|
-
- if [:minhascidades, :pdp, :multitude, :compartilhaco, :accounts].include?(@app)
|
15
|
+
- if [:minhascidades, :pdp, :multitude, :compartilhaco, :accounts, :legislando].include?(@app)
|
16
16
|
ul.right
|
17
17
|
- if current_user.present?
|
18
18
|
li.has-dropdown
|
@@ -67,7 +67,7 @@
|
|
67
67
|
= image_tag("mrui_compartilhaco.png")
|
68
68
|
span= application_name(:compartilhaco)
|
69
69
|
.alert
|
70
|
-
- unless [:minhascidades, :pdp, :multitude, :compartilhaco].include?(@app)
|
70
|
+
- unless [:minhascidades, :pdp, :multitude, :compartilhaco, :legislando].include?(@app)
|
71
71
|
a.icon-warning href="#" data-dropdown="support-alert"
|
72
72
|
#support-alert.f-dropdown.content data-dropdown-content=true
|
73
73
|
| Esta versão do #{application_name(@app)} está disponível apenas para a cidade do Rio de Janeiro. Em breve disponibilizaremos para toda a #{link_to "Rede Nossas Cidades", "http://www.nossascidades.org/"}.
|
data/lib/meurio_ui/version.rb
CHANGED
@@ -16,6 +16,7 @@ module MeurioUi
|
|
16
16
|
return "De Guarda" if app == :deguarda
|
17
17
|
return "Multitude" if app == :multitude
|
18
18
|
return "Compartilhaço" if app == :compartilhaco
|
19
|
+
return "Legislando" if app == :legislando
|
19
20
|
end
|
20
21
|
|
21
22
|
def meurio_ui_assets
|
@@ -24,7 +25,7 @@ module MeurioUi
|
|
24
25
|
end
|
25
26
|
|
26
27
|
def sign_in_path
|
27
|
-
if [:pdp, :multitude, :minhascidades, :compartilhaco].include? @app
|
28
|
+
if [:pdp, :multitude, :minhascidades, :compartilhaco, :legislando].include? @app
|
28
29
|
"http://accounts.#{ENV["MEURIO_DOMAIN"]}/?service=#{request.url}"
|
29
30
|
else
|
30
31
|
"http://accounts.#{ENV["MEURIO_DOMAIN"]}/?redirect_url=#{request.url}"
|
@@ -32,7 +33,7 @@ module MeurioUi
|
|
32
33
|
end
|
33
34
|
|
34
35
|
def sign_out_path
|
35
|
-
if [:pdp, :multitude, :minhascidades, :compartilhaco].include? @app
|
36
|
+
if [:pdp, :multitude, :minhascidades, :compartilhaco, :legislando].include? @app
|
36
37
|
"http://accounts.#{ENV["MEURIO_DOMAIN"]}/logout?service=#{request.url}"
|
37
38
|
else
|
38
39
|
"http://accounts.#{ENV["MEURIO_DOMAIN"]}/logout?redirect_url=#{request.url}"
|
@@ -40,7 +41,7 @@ module MeurioUi
|
|
40
41
|
end
|
41
42
|
|
42
43
|
def edit_profile_path
|
43
|
-
if [:pdp, :multitude, :minhascidades, :compartilhaco].include? @app
|
44
|
+
if [:pdp, :multitude, :minhascidades, :compartilhaco, :legislando].include? @app
|
44
45
|
"http://accounts.#{ENV["MEURIO_DOMAIN"]}/users/#{current_user.id}/edit"
|
45
46
|
else
|
46
47
|
"http://accounts.#{ENV["MEURIO_DOMAIN"]}/users/#{current_user.id}/edit"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: meurio_ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nícolas Iensen
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-02-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -72,9 +72,11 @@ files:
|
|
72
72
|
- app/assets/images/mrui_compartilhaco.png
|
73
73
|
- app/assets/images/mrui_deguarda.png
|
74
74
|
- app/assets/images/mrui_deolho.png
|
75
|
+
- app/assets/images/mrui_deolho2.png
|
75
76
|
- app/assets/images/mrui_divider.jpg
|
76
77
|
- app/assets/images/mrui_eventos.png
|
77
78
|
- app/assets/images/mrui_imagine.png
|
79
|
+
- app/assets/images/mrui_legislando.png
|
78
80
|
- app/assets/images/mrui_meurio.png
|
79
81
|
- app/assets/images/mrui_minhasampa.png
|
80
82
|
- app/assets/images/mrui_minhascidades2.png
|