mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-25 09:40:56 +08:00
Fix layout of milestone view (#15927)
fix #15047 Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
parent
9b7d692e9e
commit
90eeb6363c
|
@ -2,14 +2,9 @@
|
||||||
<div class="page-content repository">
|
<div class="page-content repository">
|
||||||
{{template "repo/header" .}}
|
{{template "repo/header" .}}
|
||||||
<div class="ui container">
|
<div class="ui container">
|
||||||
<div class="ui three column stackable grid">
|
<div class="ui two column stackable grid">
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<h1>{{.Milestone.Name}}</h1>
|
<h1>{{.Milestone.Name}}</h1>
|
||||||
<div class="markup content">
|
|
||||||
{{.Milestone.RenderedContent|Str2html}}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="column center aligned">
|
|
||||||
</div>
|
</div>
|
||||||
{{if not .Repository.IsArchived}}
|
{{if not .Repository.IsArchived}}
|
||||||
<div class="column right aligned">
|
<div class="column right aligned">
|
||||||
|
@ -20,6 +15,11 @@
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</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="ui one column stackable grid">
|
||||||
<div class="column">
|
<div class="column">
|
||||||
{{ $closedDate:= TimeSinceUnix .Milestone.ClosedDateUnix $.Lang }}
|
{{ $closedDate:= TimeSinceUnix .Milestone.ClosedDateUnix $.Lang }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user