diff --git a/public/home/search.js b/public/home/search.js index b85c53f5b..4e885b879 100644 --- a/public/home/search.js +++ b/public/home/search.js @@ -253,9 +253,10 @@ function displayPrResult(page,jsonResult,onlyReturnNum,keyword){ $('#pr_total').text(total); if(!onlyReturnNum){ setActivate("pr_item"); - $('#keyword_desc').text(keyword); - $('#obj_desc').text(getLabel(isZh,"search_pr")); - $('#child_total').text(total); + //$('#keyword_desc').text(keyword); + //$('#obj_desc').text(getLabel(isZh,"search_pr")); + //$('#child_total').text(total); + $('#find_title').text(getLabel(isZh,"find_title").replace('{keyword}',keyword).replace('{tablename}',getLabel(isZh,"search_pr")).replace('{total}',total)); setIssueOrPrInnerHtml(data,"pulls"); } @@ -389,7 +390,7 @@ function displayOrgResult(page,jsonResult,onlyReturnNum,keyword){ //$('#keyword_desc').text(keyword); //$('#obj_desc').text(getLabel(isZh,"search_org")); //$('#child_total').text(total); - $('#find_title').text(getLabel(isZh,"find_title").replace('{keyword}',keyword).replace('{tablename}',getLabel(isZh,"search_org")).replace('{total}',total)); + $('#find_title').html(getLabel(isZh,"find_title").replace('{keyword}',keyword).replace('{tablename}',getLabel(isZh,"search_org")).replace('{total}',total)); var sortHtml = ""; sortHtml +=""+ getLabel(isZh,"search_matched") + ""; @@ -1140,7 +1141,7 @@ var zhCN={ "search_last_page":"末页", "search_go_to":"前往", "search_go_page":"页", - "find_title":"找到“{keyword}”相关{tablename}约为{total}个" + "find_title":"“{keyword}”相关{tablename}约为{total}个" } var esUN={ @@ -1174,7 +1175,7 @@ var zhCN={ "search_last_page":"Last", "search_go_to":"Go", "search_go_page":"Page", - "find_title":"Find \"{keyword}\" related {tablename} maybe {total}" + "find_title":" \"{keyword}\" related {tablename} maybe {total}" }