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
hide delete/restor button on archived repos (
#7658
)
close issue
#7653
master
6543
Lunny Xiao
5 years ago
parent
dd8a295efc
commit
23e8cff08c
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/branch/list.tmpl
+ 1
- 1
templates/repo/branch/list.tmpl
View File
@@ -101,7 +101,7 @@
</div>
</div>
{{end}}
{{if and $.IsWriter (not $.IsMirror) (not .IsProtected)}}
{{if and $.IsWriter (not $.IsMirror) (not
$.Repository.IsArchived) (not
.IsProtected)}}
{{if .IsDeleted}}
<a class="ui basic jump button icon poping up undo-button" href data-url="{{$.Link}}/restore?branch_id={{.DeletedBranch.ID | urlquery}}&name={{.DeletedBranch.Name | urlquery}}" data-content="{{$.i18n.Tr "repo.branch.restore" (.Name | EscapePound)}}" data-variation="tiny inverted" data-position="top right"><i class="octicon octicon-reply text blue"></i></a>
{{else}}
Write
Preview
Loading…
Cancel
Save