meurio_ui 1.3.20 → 1.3.21

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: 4db06db191fd69fddf4a98261432fc9a1a3d78a6
4
- data.tar.gz: 5406505de71e6bc7afec302887dc94028d7693d1
3
+ metadata.gz: 8a917e8ae888786b1f92a055dc17efa06462a50e
4
+ data.tar.gz: a4ce7b4fe9aa9eb86e5a7c1b477cf93c9de133ca
5
5
  SHA512:
6
- metadata.gz: 4a8628927308888203f83aa2b8d7b042e64de165f56c6307141e48ded99935dab1f0c400311cd42d0d051feb2ee8fa570c5d060420bf7cba44d136f158e43593
7
- data.tar.gz: 5cfa8187fee9259490782934b332cf5b49efa61ecce88ae696bd293df0e8d7db15050ecb19abe55f58984b19c272216e0826b2305f1b464fdf16d8b52006e91e
6
+ metadata.gz: 4ed17d11e957e060430119ae0ebe7b16ea149edc28cd707d168d2a2ada51729dd2fd613bebf73506fd8fa5df49c08cf1c1a218608452a229d65785f129cabca0
7
+ data.tar.gz: 0cdfccb9109c2cb0e763691958d660b301650796cd03af0fa348f937c242b9be16ad44b0479aa9ba902f0bb265657048197e82c891db28b1a401a79ababbcbc7
@@ -1,25 +1,25 @@
1
1
  .meurio_header
2
2
  .meurio_logo_and_user_menu
3
3
  .row
4
- .meurio_logo= link_to image_tag('mrui_meurio.png'), ENV['MEURIO_HOST']
4
+ .meurio_logo= link_to image_tag('mrui_meurio.png'), "http://www.#{ENV['MEURIO_DOMAIN']}"
5
5
  - if @app == :pdp || @app == :mr20 || @app == :accounts || @app == :multitude
6
6
  .user_menu
7
7
  - if current_user.present?
8
8
  .current_user
9
- = link_to "#{ENV['MEURIO_HOST']}/users/#{current_user.id}" do
9
+ = link_to "http://www.#{ENV['MEURIO_DOMAIN']}/users/#{current_user.id}" do
10
10
  = image_tag(current_user.avatar_url)
11
11
  = current_user.name
12
12
  = content_tag(:span, nil, class: 'icon-triangle-down')
13
13
  .current_user_links
14
14
  span Minha Conta
15
- = link_to "Ver meu perfil", "#{ENV['MEURIO_HOST']}/users/#{current_user.id}"
16
- = link_to "Editar meu perfil", "http://accounts.#{meurio_host}/users/#{current_user.id}/edit"
17
- = link_to "Sair", "http://accounts.#{meurio_host}/logout?redirect_url=#{request.url}"
15
+ = link_to "Ver meu perfil", "http://www.#{ENV['MEURIO_DOMAIN']}/users/#{current_user.id}"
16
+ = link_to "Editar meu perfil", "http://accounts.#{ENV["MEURIO_DOMAIN"]}/users/#{current_user.id}/edit"
17
+ = link_to "Sair", "http://accounts.#{ENV["MEURIO_DOMAIN"]}/logout?redirect_url=#{request.url}"
18
18
  - if content_for? :current_user_links
19
19
  span= application_name(@app)
20
20
  = yield :current_user_links
21
21
  - else
22
- = link_to 'Entrar', "http://accounts.#{meurio_host}/?redirect_url=#{request.url}", class: :hollow_btn
22
+ = link_to 'Entrar', "http://accounts.#{ENV["MEURIO_DOMAIN"]}/?redirect_url=#{request.url}", class: :hollow_btn
23
23
  .clear
24
24
 
25
25
  .meurio_apps_and_application_menu
@@ -34,25 +34,25 @@
34
34
  span= application_name(@app)
35
35
  span.icon-arrow-box
36
36
  .other_apps
37
- = link_to(ENV['MEURIO_HOST'], class: :meurio_app) do
37
+ = link_to("http://www.#{ENV["MEURIO_DOMAIN"]}", class: :meurio_app) do
38
38
  = image_tag('mrui_mr20.png')
39
39
  span= application_name(:mr20)
40
- = link_to("http://paneladepressao.#{meurio_host}/", class: :meurio_app) do
40
+ = link_to("http://paneladepressao.#{ENV["MEURIO_DOMAIN"]}/", class: :meurio_app) do
41
41
  = image_tag('mrui_pdp.png')
42
42
  span= application_name(:pdp)
43
- = link_to("http://verao.#{meurio_host}/", class: :meurio_app) do
43
+ = link_to("http://verao.#{ENV["MEURIO_DOMAIN"]}/", class: :meurio_app) do
44
44
  = image_tag('mrui_vds.png')
45
45
  span= application_name(:vds)
46
- = link_to("http://imagine.#{meurio_host}/", class: :meurio_app) do
46
+ = link_to("http://imagine.#{ENV["MEURIO_DOMAIN"]}/", class: :meurio_app) do
47
47
  = image_tag('mrui_imagine.png')
48
48
  span= application_name(:imagine)
49
- = link_to("https://apoie.#{meurio_host}/", class: :meurio_app) do
49
+ = link_to("https://apoie.#{ENV["MEURIO_DOMAIN"]}/", class: :meurio_app) do
50
50
  = image_tag('mrui_apoie.png')
51
51
  span= application_name(:apoie)
52
- = link_to("http://deolho.#{meurio_host}/", class: :meurio_app) do
52
+ = link_to("http://deolho.#{ENV["MEURIO_DOMAIN"]}/", class: :meurio_app) do
53
53
  = image_tag('mrui_deolho.png')
54
54
  span= application_name(:deolho)
55
- = link_to("http://deguarda.#{meurio_host}/", class: :meurio_app) do
55
+ = link_to("http://deguarda.#{ENV["MEURIO_DOMAIN"]}/", class: :meurio_app) do
56
56
  = image_tag("mrui_deguarda.png")
57
57
  span= application_name(:deguarda)
58
58
  .application_menu= yield :application_menu
@@ -1,5 +1,5 @@
1
1
  module MeurioUi
2
2
  module Rails
3
- VERSION = "1.3.20"
3
+ VERSION = "1.3.21"
4
4
  end
5
5
  end
@@ -21,9 +21,5 @@ module MeurioUi
21
21
  def meurio_ui_assets
22
22
  content_tag :link, nil, rel: "stylesheet", href: "http://i.icomoon.io/public/b6dafa29d0/MeuRio/style.css"
23
23
  end
24
-
25
- def meurio_host
26
- Rails.env.production? ? "meurio.org.br" : "meurio-staging.org.br"
27
- end
28
24
  end
29
25
  end
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.3.20
4
+ version: 1.3.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nícolas Iensen