fix layout of milestone view (#15940)

This commit is contained in:
Tomás Warynyca 2021-05-21 23:38:51 -03:00 committed by GitHub
parent 159bc8842a
commit 5a589ef9ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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="markdown 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 }}