diff options
author | Daniel Baumann <daniel@debian.org> | 2024-10-18 20:33:49 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2024-10-18 20:33:49 +0200 |
commit | dd136858f1ea40ad3c94191d647487fa4f31926c (patch) | |
tree | 58fec94a7b2a12510c9664b21793f1ed560c6518 /templates/repo/commit_load_branches_and_tags.tmpl | |
parent | Initial commit. (diff) | |
download | forgejo-dd136858f1ea40ad3c94191d647487fa4f31926c.tar.xz forgejo-dd136858f1ea40ad3c94191d647487fa4f31926c.zip |
Adding upstream version 9.0.0.HEADupstream/9.0.0upstreamdebian
Signed-off-by: Daniel Baumann <daniel@debian.org>
Diffstat (limited to 'templates/repo/commit_load_branches_and_tags.tmpl')
-rw-r--r-- | templates/repo/commit_load_branches_and_tags.tmpl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/repo/commit_load_branches_and_tags.tmpl b/templates/repo/commit_load_branches_and_tags.tmpl new file mode 100644 index 0000000..ffa0e53 --- /dev/null +++ b/templates/repo/commit_load_branches_and_tags.tmpl @@ -0,0 +1,20 @@ +{{if not .PageIsWiki}} +<div class="branch-and-tag-area" data-text-default-branch-tooltip="{{ctx.Locale.Tr "repo.commit.contained_in_default_branch"}}"> + <button class="ui button ellipsis-button load-branches-and-tags tw-mt-2" aria-expanded="false" + data-fetch-url="{{.RepoLink}}/commit/{{.CommitID}}/load-branches-and-tags" + data-tooltip-content="{{ctx.Locale.Tr "repo.commit.load_referencing_branches_and_tags"}}" + >...</button> + <div class="branch-and-tag-detail tw-hidden"> + <div class="divider"></div> + <div>{{ctx.Locale.Tr "repo.commit.contained_in"}}</div> + <div class="tw-flex tw-mt-2"> + <div class="tw-p-1">{{svg "octicon-git-branch"}}</div> + <div class="branch-area flex-text-block tw-flex-wrap tw-flex-1"></div> + </div> + <div class="tw-flex tw-mt-2"> + <div class="tw-p-1">{{svg "octicon-tag"}}</div> + <div class="tag-area flex-text-block tw-flex-wrap tw-flex-1"></div> + </div> + </div> +</div> +{{end}} |