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
Show review comment box only on a pull request page (
#4636
)
* Show review comment box only on a pull request page * Fixed template check
master
Lanre Adelowo
Lauris BH
6 years ago
parent
32145b6de8
commit
3b51c4f3fb
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
templates/repo/diff/box.tmpl
+ 1
- 1
templates/repo/diff/box.tmpl
View File
@@ -8,7 +8,7 @@
<div class="ui right">
<a class="ui tiny basic toggle button" href="?style={{if .IsSplitStyle}}unified{{else}}split{{end}}">{{ if .IsSplitStyle }}{{.i18n.Tr "repo.diff.show_unified_view"}}{{else}}{{.i18n.Tr "repo.diff.show_split_view"}}{{end}}</a>
<a class="ui tiny basic toggle button" data-target="#diff-files">{{.i18n.Tr "repo.diff.show_diff_stats"}}</a>
{{if $.SignedUserID}}
{{if
and .PageIsPullFiles
$.SignedUserID}}
{{template "repo/diff/new_review" .}}
{{end}}
</div>
Write
Preview
Loading…
Cancel
Save