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
pagination in repo issues page only if needed
tags/v1.2.0-rc1
Fernando San Julián
10 years ago
parent
1344da8ec7
commit
0857cb0bbb
1 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
templates/repo/issue/list.tmpl
+ 3
- 1
templates/repo/issue/list.tmpl
View File
@@ -87,6 +87,7 @@
{{end}}
{{with .Page}}
{{if gt .Total 1}}
<div class="center page buttons">
<div class="ui borderless pagination menu">
<a class="{{if not .HasPrevious}}disabled{{end}} item" {{if .HasPrevious}}href="{{$.RepoLink}}/issues?type={{$.ViewType}}&state={{$.State}}&labels={{$.SelectLabels}}&page={{.Previous}}"{{end}}>
@@ -105,7 +106,8 @@
</div>
</div>
{{end}}
{{end}}
</div>
</div>
</div>
{{template "base/footer" .}}
{{template "base/footer" .}}
Write
Preview
Loading…
Cancel
Save