mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-06 18:29:05 +01:00
parent
a6aed0fee6
commit
4d7c063f9e
3 changed files with 61 additions and 55 deletions
|
@ -3,6 +3,8 @@
|
||||||
{{template "shared/user/org_profile_avatar" .}}
|
{{template "shared/user/org_profile_avatar" .}}
|
||||||
<div class="ui container">
|
<div class="ui container">
|
||||||
{{template "user/overview/header" .}}
|
{{template "user/overview/header" .}}
|
||||||
|
</div>
|
||||||
|
<div class="ui container fluid padded">
|
||||||
{{template "projects/view" .}}
|
{{template "projects/view" .}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{{$canWriteProject := and .CanWriteProjects (or (not .Repository) (not .Repository.IsArchived))}}
|
{{$canWriteProject := and .CanWriteProjects (or (not .Repository) (not .Repository.IsArchived))}}
|
||||||
|
|
||||||
|
<div class="ui container">
|
||||||
<div class="gt-df gt-sb gt-ac gt-mb-4">
|
<div class="gt-df gt-sb gt-ac gt-mb-4">
|
||||||
<h2 class="gt-mb-0">{{.Project.Title}}</h2>
|
<h2 class="gt-mb-0">{{.Project.Title}}</h2>
|
||||||
{{if $canWriteProject}}
|
{{if $canWriteProject}}
|
||||||
|
@ -60,6 +61,7 @@
|
||||||
<div class="content">{{$.Project.RenderedContent|Str2html}}</div>
|
<div class="content">{{$.Project.RenderedContent|Str2html}}</div>
|
||||||
|
|
||||||
<div class="divider"></div>
|
<div class="divider"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div id="project-board">
|
<div id="project-board">
|
||||||
<div class="board {{if .CanWriteProjects}}sortable{{end}}">
|
<div class="board {{if .CanWriteProjects}}sortable{{end}}">
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
{{template "repo/issue/navbar" .}}
|
{{template "repo/issue/navbar" .}}
|
||||||
<a class="ui small primary button" href="{{.RepoLink}}/issues/new/choose?project={{.Project.ID}}">{{ctx.Locale.Tr "repo.issues.new"}}</a>
|
<a class="ui small primary button" href="{{.RepoLink}}/issues/new/choose?project={{.Project.ID}}">{{ctx.Locale.Tr "repo.issues.new"}}</a>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="ui container fluid padded">
|
||||||
{{template "projects/view" .}}
|
{{template "projects/view" .}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue