mirror of
https://github.com/go-gitea/gitea
synced 2025-01-07 03:06:02 +01:00
display pull request on float window
This commit is contained in:
parent
ab6d2ed9d7
commit
79cb88901b
@ -12,7 +12,7 @@
|
||||
{{if .PullRequest}}
|
||||
<div class="tw-flex tw-items-center tw-overflow-hidden tw-max-w-full">
|
||||
<span class="tw-mr-1">{{template "shared/issueicon" .PullRequest.Issue}}</span>
|
||||
<a href="{{.PullRequest.Issue.Link}}" data-tooltip-content="{{.PullRequest.Issue.Title}}" class="item tw-overflow-hidden gt-ellipsis tw-whitespace-nowrap">
|
||||
<a href="{{.PullRequest.Issue.Link}}" class="ref-issue item tw-overflow-hidden gt-ellipsis tw-whitespace-nowrap">
|
||||
{{.PullRequest.Issue.Title}}
|
||||
</a>
|
||||
</div>
|
||||
|
@ -134,7 +134,7 @@
|
||||
{{ctx.Locale.TrN .Issue.NumComments "repo.issues.num_comments_1" "repo.issues.num_comments" .Issue.NumComments}}
|
||||
</span>
|
||||
{{if .MaybeFixed}}
|
||||
{{$fixedStr := HTMLFormat `<a href="%s">#%d</a>` .MaybeFixed.Issue.Link .MaybeFixed.Index}}
|
||||
{{$fixedStr := HTMLFormat `<a href="%s" class="ref-issue">#%d</a>` .MaybeFixed.Issue.Link .MaybeFixed.Index}}
|
||||
· <span>{{ctx.Locale.Tr "repo.issues.maybefixed" $fixedStr}}</span>
|
||||
{{end}}
|
||||
{{end}}
|
||||
|
Loading…
Reference in New Issue
Block a user