meurio_ui 1.3.20 → 1.3.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/meurio_ui/meurio_header.html.slim +13 -13
- data/lib/meurio_ui/version.rb +1 -1
- data/lib/meurio_ui/view_helpers.rb +0 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a917e8ae888786b1f92a055dc17efa06462a50e
|
4
|
+
data.tar.gz: a4ce7b4fe9aa9eb86e5a7c1b477cf93c9de133ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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['
|
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 "
|
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", "
|
16
|
-
= link_to "Editar meu perfil", "http://accounts.#{
|
17
|
-
= link_to "Sair", "http://accounts.#{
|
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.#{
|
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[
|
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.#{
|
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.#{
|
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.#{
|
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.#{
|
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.#{
|
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.#{
|
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
|
data/lib/meurio_ui/version.rb
CHANGED
@@ -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
|