mirror of
https://github.com/go-gitea/gitea.git
synced 2025-07-18 00:01:32 -04:00
Compare commits
No commits in common. "48450939c712f10de858fcb4a3e59adc7058d673" and "73189f0a19cc215f8eb599414d3b97dabbbc43ad" have entirely different histories.
48450939c7
...
73189f0a19
@ -488,11 +488,6 @@ func EditPullRequest(ctx *context.APIContext) {
|
|||||||
issue := pr.Issue
|
issue := pr.Issue
|
||||||
issue.Repo = ctx.Repo.Repository
|
issue.Repo = ctx.Repo.Repository
|
||||||
|
|
||||||
if err := issue.LoadAttributes(ctx); err != nil {
|
|
||||||
ctx.Error(http.StatusInternalServerError, "LoadAttributes", err)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
if !issue.IsPoster(ctx.Doer.ID) && !ctx.Repo.CanWrite(unit.TypePullRequests) {
|
if !issue.IsPoster(ctx.Doer.ID) && !ctx.Repo.CanWrite(unit.TypePullRequests) {
|
||||||
ctx.Status(http.StatusForbidden)
|
ctx.Status(http.StatusForbidden)
|
||||||
return
|
return
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
{{end}}
|
{{end}}
|
||||||
{{if .PackageDescriptor.Metadata.ImageLayers}}
|
{{if .PackageDescriptor.Metadata.ImageLayers}}
|
||||||
<h4 class="ui top attached header">{{.i18n.Tr "packages.container.layers"}}</h4>
|
<h4 class="ui top attached header">{{.i18n.Tr "packages.container.layers"}}</h4>
|
||||||
<div class="ui attached segment word-break">
|
<div class="ui attached segment">
|
||||||
<table class="ui very basic compact table">
|
<table class="ui very basic compact table">
|
||||||
<tbody>
|
<tbody>
|
||||||
{{range .PackageDescriptor.Metadata.ImageLayers}}
|
{{range .PackageDescriptor.Metadata.ImageLayers}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user