mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-09-12 14:48:56 +02:00
We have to define this one in helpers.css because tailwind only generates a single class but certain things rely on this being double-class. Command ran: ```sh perl -p -i -e 's#gt-hidden#tw-hidden#g' web_src/js/**/* templates/**/* models/**/* web_src/css/**/* --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> (cherry picked from commit ec3d467f15a683b305ac165c3eba6683628dcb25) Conflicts: templates/install.tmpl templates/repo/diff/conversation.tmpl templates/repo/issue/view_content/conversation.tmpl templates/repo/issue/view_content/sidebar.tmpl templates/repo/issue/view_title.tmpl resolved by prefering Forgejo version and applying the commands to all files
20 lines
926 B
Go HTML Template
20 lines
926 B
Go HTML Template
{{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}}
|