diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-08-28 22:14:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-28 22:14:51 +0800 |
commit | 4803766f7a5d1ca86a1e62949dcd9a9ff8d0f64c (patch) | |
tree | 777d8a03c5933b99519a2f5afaef86e245892b6c /templates/repo/branch | |
parent | a587d2526163153a4d992527fe6040d578beaa83 (diff) | |
download | gitea-4803766f7a5d1ca86a1e62949dcd9a9ff8d0f64c.tar.gz gitea-4803766f7a5d1ca86a1e62949dcd9a9ff8d0f64c.zip |
Refactor some CSS styles and simplify code (#26771)
Refactor some CSS styles and simplify code.
Some styles are not in use, remove them.
Diffstat (limited to 'templates/repo/branch')
-rw-r--r-- | templates/repo/branch/list.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/branch/list.tmpl b/templates/repo/branch/list.tmpl index bd045995b2..d2535e1e30 100644 --- a/templates/repo/branch/list.tmpl +++ b/templates/repo/branch/list.tmpl @@ -132,11 +132,11 @@ {{else}} <a href="{{.LatestPullRequest.Issue.Link}}" class="gt-vm ref-issue">{{if not .LatestPullRequest.IsSameRepo}}{{.LatestPullRequest.BaseRepo.FullName}}{{end}}#{{.LatestPullRequest.Issue.Index}}</a> {{if .LatestPullRequest.HasMerged}} - <a href="{{.LatestPullRequest.Issue.Link}}" class="ui text-label purple large label gt-vm">{{svg "octicon-git-merge" 16 "gt-mr-2"}}{{$.locale.Tr "repo.pulls.merged"}}</a> + <a href="{{.LatestPullRequest.Issue.Link}}" class="ui purple large label">{{svg "octicon-git-merge" 16 "gt-mr-2"}}{{$.locale.Tr "repo.pulls.merged"}}</a> {{else if .LatestPullRequest.Issue.IsClosed}} - <a href="{{.LatestPullRequest.Issue.Link}}" class="ui text-label red large label gt-vm">{{svg "octicon-git-pull-request" 16 "gt-mr-2"}}{{$.locale.Tr "repo.issues.closed_title"}}</a> + <a href="{{.LatestPullRequest.Issue.Link}}" class="ui red large label">{{svg "octicon-git-pull-request" 16 "gt-mr-2"}}{{$.locale.Tr "repo.issues.closed_title"}}</a> {{else}} - <a href="{{.LatestPullRequest.Issue.Link}}" class="ui text-label green large label gt-vm">{{svg "octicon-git-pull-request" 16 "gt-mr-2"}}{{$.locale.Tr "repo.issues.open_title"}}</a> + <a href="{{.LatestPullRequest.Issue.Link}}" class="ui green large label">{{svg "octicon-git-pull-request" 16 "gt-mr-2"}}{{$.locale.Tr "repo.issues.open_title"}}</a> {{end}} {{end}} </td> |