mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Change text of register call in the dropdown
Unified code for the dropdown and the footer. Both contain the register call and are both pointing to the register path now. The footer still pointed to the global site before.
This commit is contained in:
@@ -30,7 +30,7 @@ footer
|
||||
background-color: transparent
|
||||
border: none
|
||||
padding: 0
|
||||
a.big-alert
|
||||
a.alert-cta
|
||||
@include csstrans
|
||||
width: 100%
|
||||
border: 1px solid rgba($dark-grey, 0.35)
|
||||
|
||||
@@ -7,13 +7,7 @@
|
||||
.row
|
||||
.small-12.medium-8.medium-offset-2.columns.text-center
|
||||
.alert-box
|
||||
%a.big-alert{href: "http://www.openfoodnetwork.org", target: "_blank"}
|
||||
%h6
|
||||
= t :alert_selling_on_ofn
|
||||
|
||||
%strong
|
||||
= t :alert_start_here
|
||||
%i.ofn-i_054-point-right
|
||||
= render 'shared/register_call'
|
||||
.row
|
||||
.small-12.medium-4.medium-offset-2.columns.text-center
|
||||
%h6
|
||||
|
||||
7
app/views/shared/_register_call.html.haml
Normal file
7
app/views/shared/_register_call.html.haml
Normal file
@@ -0,0 +1,7 @@
|
||||
%a.alert-cta{href: registration_path, target: "_blank"}
|
||||
%h6
|
||||
= t '.selling_on_ofn'
|
||||
|
||||
%strong
|
||||
= t '.register'
|
||||
%i.ofn-i_054-point-right
|
||||
@@ -1,10 +1,4 @@
|
||||
.text-center.page-alert.fixed{ "ofn-page-alert" => true }
|
||||
.alert-box
|
||||
%a.alert-cta{href: registration_path, target: "_blank"}
|
||||
%h6
|
||||
= t 'alert_selling_on_ofn'
|
||||
|
||||
%strong
|
||||
= t 'alert_start_here'
|
||||
%i.ofn-i_054-point-right
|
||||
= render 'shared/register_call'
|
||||
%a.close{ ng: { click: "close()" } } ×
|
||||
|
||||
@@ -118,6 +118,10 @@ en:
|
||||
show_closed_shops: "Show closed shops"
|
||||
hide_closed_shops: "Hide closed shops"
|
||||
show_on_map: "Show all on the map"
|
||||
shared:
|
||||
register_call:
|
||||
selling_on_ofn: "Interested in getting on the Open Food Network?"
|
||||
register: "Register here"
|
||||
shop:
|
||||
messages:
|
||||
login: "login"
|
||||
@@ -167,8 +171,6 @@ en:
|
||||
on_demand: On demand
|
||||
none: None
|
||||
|
||||
alert_selling_on_ofn: "Interested in selling food on the Open Food Network?"
|
||||
alert_start_here: "Start here"
|
||||
label_shops: "Shops"
|
||||
label_map: "Map"
|
||||
label_producers: "Producers"
|
||||
|
||||
Reference in New Issue
Block a user