Fix layout of milestone view (#15927)

fix #15047

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
release/v1.15
sebastian-sauer 2021-05-20 23:53:55 +02:00 committed by GitHub
parent 9b7d692e9e
commit 90eeb6363c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -2,14 +2,9 @@
<div class="page-content repository">
{{template "repo/header" .}}
<div class="ui container">
<div class="ui three column stackable grid">
<div class="ui two column stackable grid">
<div class="column">
<h1>{{.Milestone.Name}}</h1>
<div class="markup content">
{{.Milestone.RenderedContent|Str2html}}
</div>
</div>
<div class="column center aligned">
</div>
{{if not .Repository.IsArchived}}
<div class="column right aligned">
@ -20,6 +15,11 @@
</div>
{{end}}
</div>
<div class="ui one column stackable grid">
<div class="column markup content">
{{.Milestone.RenderedContent|Str2html}}
</div>
</div>
<div class="ui one column stackable grid">
<div class="column">
{{ $closedDate:= TimeSinceUnix .Milestone.ClosedDateUnix $.Lang }}