Commit 44096e3f authored by Clément Damiens's avatar Clément Damiens
Browse files

trad no city found & hotfix search

parent 01a8f6f9
......@@ -378,11 +378,11 @@ function autoCompleteSearchGS(search, indexMin, indexMax, input){
if(countData==0 && searchTypeGS == "cities"){
str="<div class='text-center col-md-12 col-sm-12 col-xs-12'>"+
'<label class="text-dark italic"><i class="fa fa-ban"></i> No city found for "'+search+'"</label><br/>'+
'<span class="info letter-blue"><i class="fa fa-info-circle"></i> Perhaps, this city has no data at this time</span><br/>'+
'<label class="text-dark italic"><i class="fa fa-ban"></i> '+trad.nocityfoundfor+' "'+search+'"</label><br/>'+
'<span class="info letter-blue"><i class="fa fa-info-circle"></i> '+trad.explainnofoundcity+'</span><br/>'+
'<button class="btn btn-blue bg-blue text-white main-btn-create" '+
'data-target="#dash-create-modal" data-toggle="modal">'+
'<i class="fa fa-plus-circle"></i> Create a page'+
'<i class="fa fa-plus-circle"></i> '+trad.createpage+
......@@ -233,7 +233,7 @@ jQuery(document).ready(function() {
......@@ -50,6 +50,8 @@ var trad = {
"nomoreresult":"<?php echo Yii::t("common","No more results") ?>",
"noresultmatch":"<?php echo Yii::t("common","No result match in your search") ?>",
"nomoreresultmatch":"<?php echo Yii::t("common","No more results match in your search") ?>",
"nocityfoundfor":"<?php echo Yii::t("common","No city found for") ?>",
"explainnofoundcity":"<?php echo Yii::t("common", "Perhaps, this city has no data at this time") ?>",
"sharesomething":"<?php echo Yii::t("common","Share something") ?>",
"connectyou":"<?php echo Yii::t("common","Connect you") ?>",
"contributecommunecterslogan":"<?php echo Yii::t("common","Communecter is building and growing thnaks to every pixels") ?>",
......@@ -145,7 +147,7 @@ var trad = {
"createpoi":"<?php echo Yii::t("common","Create a point of interest") ?>",
"createclassified":"<?php echo Yii::t("common","Create a classified ad") ?>",
"createcollection":"<?php echo Yii::t("common","Create a new collection") ?>",
"createpage":"<?php echo Yii::t("common","Create a page") ?>",
"organizations":"<?php echo Yii::t("common","organizations"); ?>",
"Organizations":"<?php echo Yii::t("common","Organizations"); ?>",
"projects":"<?php echo Yii::t("common","projects"); ?>",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment