mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-01 07:09:21 +01:00
d0f24ff4ca
This PR adds instance-level variables, and so closes #27726 ![gitea_instance_variables_1](https://github.com/go-gitea/gitea/assets/8344487/ad409cd4-ce36-4c84-a764-34451b0fb63a) ![gitea_instance_variables_2](https://github.com/go-gitea/gitea/assets/8344487/426f0965-dec6-4560-948c-067cdeddd720) ![gitea_instance_variables_3](https://github.com/go-gitea/gitea/assets/8344487/cf1d7776-4938-4825-922e-cbbbf28a5f33)
10 lines
340 B
Go HTML Template
10 lines
340 B
Go HTML Template
{{template "admin/layout_head" (dict "ctxData" . "pageClass" "admin actions")}}
|
|
<div class="admin-setting-content">
|
|
{{if eq .PageType "runners"}}
|
|
{{template "shared/actions/runner_list" .}}
|
|
{{end}}
|
|
{{if eq .PageType "variables"}}
|
|
{{template "shared/variables/variable_list" .}}
|
|
{{end}}
|
|
</div>
|
|
{{template "admin/layout_footer" .}}
|