This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
feat: Add branch link in branch list. (
#3576
)
master
Bo-Yi Wu
Lauris BH
7 years ago
parent
d2d0aea8a1
commit
fc265b036f
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
templates/repo/branch/list.tmpl
+ 2
- 2
templates/repo/branch/list.tmpl
View File
@@ -38,10 +38,10 @@
<tr>
<td>
{{if .IsDeleted}}
<s>{{.Name}}</s>
<s>
<a href="{{$.RepoLink}}/src/branch/
{{.Name}}
">{{.Name}}</a>
</s>
<p class="time">{{$.i18n.Tr "repo.branch.deleted_by" .DeletedBranch.DeletedBy.Name}} {{TimeSinceUnix .DeletedBranch.DeletedUnix $.i18n.Lang}}</p>
{{else}}
{{.Name}}
<a href="{{$.RepoLink}}/src/branch/
{{.Name}}
">{{.Name}}</a>
<p class="time">{{$.i18n.Tr "org.repo_updated"}} {{TimeSince .Commit.Committer.When $.i18n.Lang}}</p>
</td>
{{end}}
Write
Preview
Loading…
Cancel
Save