mirror of
https://github.com/go-gitea/gitea.git
synced 2024-09-06 23:44:20 -04:00
68ec9b4859
This will conclude the refactor of 1:1 class replacements to tailwind, except `gt-hidden`. Commands ran: ```bash perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/* perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/* perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/* perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/* perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/* perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/* ```
21 lines
926 B
Handlebars
21 lines
926 B
Handlebars
{{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 gt-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}}
|