|
|
@@ -335,9 +335,10 @@ function displayDataSetResult(page,jsonResult,onlyReturnNum,keyword){ |
|
|
|
$('#dataset_total').text(total); |
|
|
|
if(!onlyReturnNum){ |
|
|
|
setActivate("dataset_item"); |
|
|
|
$('#keyword_desc').text(keyword); |
|
|
|
$('#obj_desc').text(getLabel(isZh,"search_dataset")); |
|
|
|
$('#child_total').text(total); |
|
|
|
//$('#keyword_desc').text(keyword); |
|
|
|
//$('#obj_desc').text(getLabel(isZh,"search_dataset")); |
|
|
|
//$('#child_total').text(total); |
|
|
|
$('#find_title').text(getLabel(isZh,"find_title").replace('{keyword}',keyword).replace('{tablename}',getLabel(isZh,"search_dataset")).replace('{total}',total)); |
|
|
|
|
|
|
|
var sortHtml = ""; |
|
|
|
sortHtml +="<a class=\"" + getActiveItem(50) + "item\" href=\"javascript:searchItem(5,50);\" tabindex=\"-1\" role=\"menuitem\" id=\"menuitem_1\">"+ getLabel(isZh,"search_matched") + "</a>"; |
|
|
@@ -385,9 +386,10 @@ function displayOrgResult(page,jsonResult,onlyReturnNum,keyword){ |
|
|
|
$('#org_total').text(total); |
|
|
|
if(!onlyReturnNum){ |
|
|
|
setActivate("org_item"); |
|
|
|
$('#keyword_desc').text(keyword); |
|
|
|
$('#obj_desc').text(getLabel(isZh,"search_org")); |
|
|
|
$('#child_total').text(total); |
|
|
|
//$('#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)); |
|
|
|
|
|
|
|
var sortHtml = ""; |
|
|
|
sortHtml +="<a class=\"" + getActiveItem(40) + "item\" href=\"javascript:searchItem(4,40);\" tabindex=\"-1\" role=\"menuitem\" id=\"menuitem_1\">"+ getLabel(isZh,"search_matched") + "</a>"; |
|
|
@@ -434,9 +436,11 @@ function displayUserResult(page,jsonResult,onlyReturnNum,keyword){ |
|
|
|
$('#user_total').text(total); |
|
|
|
if(!onlyReturnNum){ |
|
|
|
setActivate("user_item"); |
|
|
|
$('#keyword_desc').text(keyword); |
|
|
|
$('#obj_desc').text(getLabel(isZh,"search_user")); |
|
|
|
$('#child_total').text(total); |
|
|
|
//$('#keyword_desc').text(keyword); |
|
|
|
//$('#obj_desc').text(getLabel(isZh,"search_user")); |
|
|
|
//$('#child_total').text(total); |
|
|
|
|
|
|
|
$('#find_title').text(getLabel(isZh,"find_title").replace('{keyword}',keyword).replace('{tablename}',getLabel(isZh,"search_user")).replace('{total}',total)); |
|
|
|
|
|
|
|
var sortHtml = "";//equal user sort by |
|
|
|
sortHtml +="<a class=\"" + getActiveItem(30) + "item\" href=\"javascript:searchItem(3,30);\" tabindex=\"-1\" role=\"menuitem\" id=\"menuitem_1\">"+ getLabel(isZh,"search_matched") + "</a>"; |
|
|
@@ -524,9 +528,10 @@ function displayIssueResult(page,jsonResult,onlyReturnNum,keyword){ |
|
|
|
$('#issue_total').text(total); |
|
|
|
if(!onlyReturnNum){ |
|
|
|
setActivate("issue_item"); |
|
|
|
$('#keyword_desc').text(keyword); |
|
|
|
$('#obj_desc').text(getLabel(isZh,"search_issue")); |
|
|
|
$('#child_total').text(total); |
|
|
|
//$('#keyword_desc').text(keyword); |
|
|
|
//$('#obj_desc').text(getLabel(isZh,"search_issue")); |
|
|
|
//$('#child_total').text(total); |
|
|
|
$('#find_title').text(getLabel(isZh,"find_title").replace('{keyword}',keyword).replace('{tablename}',getLabel(isZh,"search_issue")).replace('{total}',total)); |
|
|
|
|
|
|
|
setIssueOrPrInnerHtml(data,"issues"); |
|
|
|
} |
|
|
@@ -550,9 +555,10 @@ function displayRepoResult(page,jsonResult,onlyReturnNum,keyword){ |
|
|
|
|
|
|
|
if(!onlyReturnNum){ |
|
|
|
setActivate("repo_item"); |
|
|
|
$('#keyword_desc').text(keyword); |
|
|
|
$('#obj_desc').text(getLabel(isZh,"search_repo")); |
|
|
|
$('#child_total').text(total); |
|
|
|
// $('#keyword_desc').text(keyword); |
|
|
|
//$('#obj_desc').text(getLabel(isZh,"search_repo")); |
|
|
|
//$('#child_total').text(total); |
|
|
|
$('#find_title').text(getLabel(isZh,"find_title").replace('{keyword}',keyword).replace('{tablename}',getLabel(isZh,"search_repo")).replace('{total}',total)); |
|
|
|
|
|
|
|
var sortHtml = ""; |
|
|
|
sortHtml +="<a class=\"" + getActiveItem(10) + "item\" href=\"javascript:searchItem(1,10);\" tabindex=\"-1\" role=\"menuitem\" id=\"menuitem_1\">"+ getLabel(isZh,"search_matched") + "</a>"; |
|
|
@@ -1133,7 +1139,8 @@ var zhCN={ |
|
|
|
"search_home_page":"首页", |
|
|
|
"search_last_page":"末页", |
|
|
|
"search_go_to":"前往", |
|
|
|
"search_go_page":"页" |
|
|
|
"search_go_page":"页", |
|
|
|
"find_title":"找到“<strong class=\"highlight\" id=\"keyword_desc\">{keyword}</strong>”相关{tablename}约为{total}个" |
|
|
|
} |
|
|
|
|
|
|
|
var esUN={ |
|
|
@@ -1166,7 +1173,8 @@ var zhCN={ |
|
|
|
"search_home_page":"Home", |
|
|
|
"search_last_page":"Last", |
|
|
|
"search_go_to":"Go", |
|
|
|
"search_go_page":"Page" |
|
|
|
"search_go_page":"Page", |
|
|
|
"find_title":"Find \"<strong class=\"highlight\" id=\"keyword_desc\">{keyword}</strong>\" related {tablename} maybe {total}" |
|
|
|
} |
|
|
|
|
|
|
|
|