mirror of
https://gitlab.com/t6353/sharee.bike.git
synced 2025-05-13 15:16:38 +02:00
copri feedback-dialog and new-content fix
This commit is contained in:
parent
a285cc0d02
commit
4734370702
8 changed files with 37 additions and 59 deletions
|
@ -120,7 +120,12 @@ if(!$coo && !$q->param('merchant_id')){
|
|||
#if($aowner && ($aowner == 195 || $aowner == 185 || $aowner == 176)){
|
||||
if($return_merchant->{project_id} eq "Konstanz"){
|
||||
$response->{agb_html} = "$dbt->{project_conf}->{Konstanz}->{agb_html}";
|
||||
$response->{tariff_info_html} = "$dbt->{project_conf}->{Konstanz}->{tariff_info_html}";
|
||||
$response->{bike_info_html} = "$dbt->{project_conf}->{Konstanz}->{bike_info_html}";
|
||||
if($lang ne "de"){
|
||||
$response->{tariff_info_html} =~ s/\.html/_en\.html/;
|
||||
$response->{bike_info_html} =~ s/\.html/_en\.html/;
|
||||
}
|
||||
}
|
||||
if($return_merchant->{project_id} eq "Bayern"){
|
||||
$response->{agb_html} = "$dbt->{project_conf}->{Bayern}->{agb_html}";
|
||||
|
@ -717,16 +722,16 @@ elsif($q->param('request') eq "stations_available"){
|
|||
}
|
||||
|
||||
#App merchant message
|
||||
if($user_agent =~ /konrad/i){
|
||||
if($epoch_now >= $epoch_start && $epoch_now <= $epoch_end){
|
||||
if($user_agent =~ /konrad/i && $varenv{cms}->{'App-merchant-message'}->{txt}){
|
||||
#if($epoch_now >= $epoch_start && $epoch_now <= $epoch_end){
|
||||
$response->{merchant_message} = $varenv{cms}->{'App-merchant-message'}->{txt};
|
||||
}
|
||||
#}
|
||||
}
|
||||
#disabled sig is offline message
|
||||
if(1==2 && $user_agent =~ /bayern/i){
|
||||
if($epoch_now >= $epoch_start && $epoch_now <= $epoch_end){
|
||||
#App merchant message bayern
|
||||
if($user_agent =~ /bayern/i && $varenv{cms}->{'App-merchant-message-bayern'}->{txt}){
|
||||
#if($epoch_now >= $epoch_start && $epoch_now <= $epoch_end){
|
||||
$response->{merchant_message} = $varenv{cms}->{'App-merchant-message-bayern'}->{txt};
|
||||
}
|
||||
#}
|
||||
}
|
||||
|
||||
$response = { %$response, %$auth };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue