Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.1.1^2
zouap 3 years ago
parent
commit
0d14b9defa
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      public/home/home.js

+ 2
- 1
public/home/home.js View File

@@ -83,7 +83,8 @@ socket.onmessage = function (e) {
html += " <a href=\"" + getRepoLink(record) + "\" rel=\"nofollow\">" + getRepoLink(record) + "</a>"
}
else if(record.OpType == "9" || record.OpType == "5"){
actionName = actionName.replace("{branch}",record.RefName);
branch = "<a href=\"" + getRepoLink(record) + "/src/branch/" + record.RefName + "\" rel=\"nofollow\">" + record.RefName + "</a>"
actionName = actionName.replace("{branch}",branch);
html += recordPrefix + actionName;
html += " <a href=\"" + getRepoLink(record) + "\" rel=\"nofollow\">" + getRepoLink(record) + "</a>"
}else if(record.OpType == "17"){


Loading…
Cancel
Save