mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-22 16:47:30 +00:00
parent
2837563147
commit
0c47fe2d77
|
@ -417,6 +417,8 @@ footer .ui.left,footer .ui.right{line-height:40px}
|
||||||
.repository .repo-header .ui.header{margin-top:0}
|
.repository .repo-header .ui.header{margin-top:0}
|
||||||
.repository .repo-header .mega-octicon{width:30px;font-size:30px}
|
.repository .repo-header .mega-octicon{width:30px;font-size:30px}
|
||||||
.repository .repo-header .ui.huge.breadcrumb{font-weight:400;font-size:1.5rem}
|
.repository .repo-header .ui.huge.breadcrumb{font-weight:400;font-size:1.5rem}
|
||||||
|
.repository .repo-header .ui.huge.breadcrumb i.mega-octicon{position:relative;top:5px}
|
||||||
|
.repository .repo-header .ui.huge.breadcrumb i.octicon-lock{margin-left:5px}
|
||||||
.repository .repo-header .fork-flag{margin-left:36px;margin-top:3px;display:block;font-size:12px;white-space:nowrap}
|
.repository .repo-header .fork-flag{margin-left:36px;margin-top:3px;display:block;font-size:12px;white-space:nowrap}
|
||||||
.repository .repo-header .octicon.octicon-repo-forked{margin-top:-1px;font-size:15px}
|
.repository .repo-header .octicon.octicon-repo-forked{margin-top:-1px;font-size:15px}
|
||||||
.repository .repo-header .button{margin-top:2px;margin-bottom:2px}
|
.repository .repo-header .button{margin-top:2px;margin-bottom:2px}
|
||||||
|
|
|
@ -20,6 +20,15 @@
|
||||||
.ui.huge.breadcrumb {
|
.ui.huge.breadcrumb {
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
|
|
||||||
|
i.mega-octicon {
|
||||||
|
position: relative;
|
||||||
|
top: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
i.octicon-lock {
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.fork-flag {
|
.fork-flag {
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
<a href="{{AppSubUrl}}/{{.Owner.Name}}">{{.Owner.Name}}</a>
|
<a href="{{AppSubUrl}}/{{.Owner.Name}}">{{.Owner.Name}}</a>
|
||||||
<div class="divider"> / </div>
|
<div class="divider"> / </div>
|
||||||
<a href="{{$.RepoLink}}">{{.Name}}</a>
|
<a href="{{$.RepoLink}}">{{.Name}}</a>
|
||||||
|
{{if and .RelAvatarLink .IsPrivate}}<i class="mega-octicon octicon-lock"></i>{{end}}
|
||||||
{{if .IsArchived}}<i class="archive icon archived-icon"></i>{{end}}
|
{{if .IsArchived}}<i class="archive icon archived-icon"></i>{{end}}
|
||||||
{{if .IsMirror}}<div class="fork-flag">{{$.i18n.Tr "repo.mirror_from"}} <a target="_blank" rel="noopener noreferrer" href="{{$.Mirror.Address}}">{{$.Mirror.Address}}</a></div>{{end}}
|
{{if .IsMirror}}<div class="fork-flag">{{$.i18n.Tr "repo.mirror_from"}} <a target="_blank" rel="noopener noreferrer" href="{{$.Mirror.Address}}">{{$.Mirror.Address}}</a></div>{{end}}
|
||||||
{{if .IsFork}}<div class="fork-flag">{{$.i18n.Tr "repo.forked_from"}} <a href="{{.BaseRepo.Link}}">{{SubStr .BaseRepo.RelLink 1 -1}}</a></div>{{end}}
|
{{if .IsFork}}<div class="fork-flag">{{$.i18n.Tr "repo.forked_from"}} <a href="{{.BaseRepo.Link}}">{{SubStr .BaseRepo.RelLink 1 -1}}</a></div>{{end}}
|
||||||
|
|
Loading…
Reference in a new issue