Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/1283/head
zouap 3 years ago
parent
commit
f7c3376578
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      public/home/home.js

+ 6
- 6
public/home/home.js View File

@@ -303,7 +303,7 @@ function displayRepo(json){
html += " </span>";
html += " <img class=\"left floated mini ui image\" src=\"" + record["Avatar"] + "\">";
html += " <a class=\"header nowrap\" href=\"/" + record["OwnerName"] + "/" + record["Name"] + "\">" + record["Name"] +"</a>";
html += " <div class=\"description nowrap-2\">" + record["Description"] + " <div>";
html += " <div class=\"description nowrap-2\">" + record["Description"] + " </div>";
html += " <div class=\"ui tags nowrap am-mt-10\">"
if(record["Topics"] != null){
for(var j = 0; j < record["Topics"].length; j++){
@@ -366,11 +366,11 @@ function displayOrg(json){
html += " <div class=\"content nowrap\">";
html += " <a href=\"/" + record["Name"] + "\">" + record["Name"] + "</a> " + record["FullName"];
html += " <div class=\"sub header\">" + record["NumRepos"] +" " + getRepoOrOrg(1,isZh) + " ・ " + record["NumMembers"] +" " + getRepoOrOrg(2,isZh) + " ・ " + record["NumTeams"] + " " + getRepoOrOrg(3,isZh) + "</div>";
html += " <div>";
html += " <div>";
html += " <div>";
html += " <div>";
html += "<div>";
html += " </div>";
html += " </div>";
html += " </div>";
html += " </div>";
html += "</div>";
}
}
orgDiv.innerHTML = html;

Loading…
Cancel
Save