28a89e360f
Used similar logic to organization. <img width="1437" alt="Screen Shot 2023-05-30 at 10 18 06" src="https://github.com/go-gitea/gitea/assets/17645053/49f3800a-44ae-4188-b1e6-91d49e3d7868"> <img width="1331" alt="Screen Shot 2023-05-30 at 10 31 18" src="https://github.com/go-gitea/gitea/assets/17645053/221b2068-e9b9-4e34-bb4a-d390594b2f35">
10 lines
351 B
Handlebars
10 lines
351 B
Handlebars
{{template "user/settings/layout_head" (dict "ctxData" . "pageClass" "user settings actions")}}
|
|
<div class="user-setting-content">
|
|
{{if eq .PageType "secrets"}}
|
|
{{template "shared/secrets/add_list" .}}
|
|
{{else if eq .PageType "runners"}}
|
|
{{template "shared/actions/runner_list" .}}
|
|
{{end}}
|
|
</div>
|
|
|
|
{{template "user/settings/layout_footer" .}}
|