Browse Source

Merge branch 'web' of https://git.openi.org.cn/OpenI/aiforge into web

tags/v1.22.1.1^2
OpenIhu 4 years ago
parent
commit
82c1a40dae
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