meurio_ui 1.4.13 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ca77357556085cd7c372c619e2c45acc374543e6
4
- data.tar.gz: 599a910e283d0cf89eafe4b6fc5f9090809f9117
3
+ metadata.gz: ef205642057e5b6da8c64b62846e8bdbecd427ce
4
+ data.tar.gz: d7ca45619efcfd0466fd839274e61481dc593d2a
5
5
  SHA512:
6
- metadata.gz: 76cdbffbaf10c1cf54cbd88fee1b29bb9abe0e78971ce165fb9f0c49bc0a7540c9bec1097fd7d601facafef6727961cdd03bca252abc110b0bf963beabcf5073
7
- data.tar.gz: 23f4af91ee47dd7a29a741dc45473d2cd7c7e836aa5ee1d40baa034320e5308e24da668cedb52ececd6f0cb95b2de3130236e7833d9cdce09ddea00e6f86c69c
6
+ metadata.gz: 5860df846763e3a25d8a0e53208372c3d2aad41613cbae24e886428b25b788d371fa40bb08d66670a71321996d8e0b05d9c87cf90deb86d63f2a6dbf5e9f30e1
7
+ data.tar.gz: 0e9573b457bd4b45c223a0d0c38ebbb44cde2bbb9be64f64caab4a2968e4efdc2a5f6649eef2a5219c317e8ab4b9e492cbb1d61229a22bc307843af940896b89
@@ -147,7 +147,9 @@
147
147
 
148
148
  .application_menu
149
149
  text-align: right
150
- a
150
+ .button
151
+ margin: 0 0 0 1.5em
152
+ a.link
151
153
  display: inline-block
152
154
  margin-left: 1.5em
153
155
  font-size: 14px
@@ -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/"}.
@@ -1,5 +1,5 @@
1
1
  module MeurioUi
2
2
  module Rails
3
- VERSION = "1.4.13"
3
+ VERSION = "1.5.0"
4
4
  end
5
5
  end
@@ -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.13
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: 2014-12-02 00:00:00.000000000 Z
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