meurio_ui 1.3.19 → 1.3.20
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 +4 -4
- data/app/views/meurio_ui/meurio_header.html.slim +9 -9
- data/lib/meurio_ui/version.rb +1 -1
- data/lib/meurio_ui/view_helpers.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4db06db191fd69fddf4a98261432fc9a1a3d78a6
|
|
4
|
+
data.tar.gz: 5406505de71e6bc7afec302887dc94028d7693d1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4a8628927308888203f83aa2b8d7b042e64de165f56c6307141e48ded99935dab1f0c400311cd42d0d051feb2ee8fa570c5d060420bf7cba44d136f158e43593
|
|
7
|
+
data.tar.gz: 5cfa8187fee9259490782934b332cf5b49efa61ecce88ae696bd293df0e8d7db15050ecb19abe55f58984b19c272216e0826b2305f1b464fdf16d8b52006e91e
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
.current_user_links
|
|
14
14
|
span Minha Conta
|
|
15
15
|
= link_to "Ver meu perfil", "#{ENV['MEURIO_HOST']}/users/#{current_user.id}"
|
|
16
|
-
= link_to "Editar meu perfil", "http://accounts
|
|
17
|
-
= link_to "Sair", "http://accounts
|
|
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}"
|
|
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.#{meurio_host}/?redirect_url=#{request.url}", class: :hollow_btn
|
|
23
23
|
.clear
|
|
24
24
|
|
|
25
25
|
.meurio_apps_and_application_menu
|
|
@@ -37,22 +37,22 @@
|
|
|
37
37
|
= link_to(ENV['MEURIO_HOST'], class: :meurio_app) do
|
|
38
38
|
= image_tag('mrui_mr20.png')
|
|
39
39
|
span= application_name(:mr20)
|
|
40
|
-
= link_to(
|
|
40
|
+
= link_to("http://paneladepressao.#{meurio_host}/", class: :meurio_app) do
|
|
41
41
|
= image_tag('mrui_pdp.png')
|
|
42
42
|
span= application_name(:pdp)
|
|
43
|
-
= link_to(
|
|
43
|
+
= link_to("http://verao.#{meurio_host}/", class: :meurio_app) do
|
|
44
44
|
= image_tag('mrui_vds.png')
|
|
45
45
|
span= application_name(:vds)
|
|
46
|
-
= link_to(
|
|
46
|
+
= link_to("http://imagine.#{meurio_host}/", class: :meurio_app) do
|
|
47
47
|
= image_tag('mrui_imagine.png')
|
|
48
48
|
span= application_name(:imagine)
|
|
49
|
-
= link_to(
|
|
49
|
+
= link_to("https://apoie.#{meurio_host}/", class: :meurio_app) do
|
|
50
50
|
= image_tag('mrui_apoie.png')
|
|
51
51
|
span= application_name(:apoie)
|
|
52
|
-
= link_to(
|
|
52
|
+
= link_to("http://deolho.#{meurio_host}/", class: :meurio_app) do
|
|
53
53
|
= image_tag('mrui_deolho.png')
|
|
54
54
|
span= application_name(:deolho)
|
|
55
|
-
= link_to(
|
|
55
|
+
= link_to("http://deguarda.#{meurio_host}/", 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,5 +21,9 @@ 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
|
|
24
28
|
end
|
|
25
29
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: meurio_ui
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.20
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nícolas Iensen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-01-
|
|
11
|
+
date: 2014-01-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|