Skip to content

Commit

Permalink
Allow choosing Gitea repository kind on package management page.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-ludwig committed Sep 24, 2023
1 parent e14f7b1 commit 916fa6e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions views/my_packages.package.dt
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ block body
option(value="bitbucket", selected=rkind == "bitbucket", disabled=!permSource) Bitbucket
- if (supportsRepositoryKind("gitlab"))
option(value="gitlab", selected=rkind == "gitlab", disabled=!permSource) GitLab
- if (supportsRepositoryKind("gitea"))
option(value="gitea", selected=rkind == "gitea", disabled=!permSource) Gitea
p
label(for="owner") Repository owner:
input(type="text", name="owner", value=pack["repository"]["owner"].get!string, disabled=!permSource)
Expand Down

0 comments on commit 916fa6e

Please sign in to comment.