diff options
author | Mark Ormesher <me@markormesher.co.uk> | 2022-12-02 03:39:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-01 22:39:19 -0500 |
commit | 665d02efaf6ebaadf3ffb5b412ea77c4502f0baf (patch) | |
tree | 56a63cd327159c7fc22bad319420ae560490f325 /templates/repo | |
parent | f7ade6de7c1c4991c650d6b96e6407053e6bdae7 (diff) | |
download | gitea-665d02efaf6ebaadf3ffb5b412ea77c4502f0baf.tar.gz gitea-665d02efaf6ebaadf3ffb5b412ea77c4502f0baf.zip |
Remove duplicate "Actions" label in mobile view (#21974)
Closes #21973.
The "Actions" button on the commit view page is labelled twice in mobile
view. No other buttons on the page have a `mobile-only` extra label, so
this PR removes it.
Before:
![before](https://user-images.githubusercontent.com/6496999/204540002-75baa08a-6c06-4b39-847b-34272e09d71e.PNG)
After:
![after](https://user-images.githubusercontent.com/6496999/204539991-a0607765-d5e2-4b1a-84c9-a3e16cbc674e.PNG)
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'templates/repo')
-rw-r--r-- | templates/repo/commit_page.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/commit_page.tmpl b/templates/repo/commit_page.tmpl index 2dcd02ad98..d4839e8930 100644 --- a/templates/repo/commit_page.tmpl +++ b/templates/repo/commit_page.tmpl @@ -27,7 +27,7 @@ </a> {{if and ($.Permission.CanWrite $.UnitTypeCode) (not $.Repository.IsArchived) (not .IsDeleted)}}{{- /* */ -}} <div class="ui primary tiny floating dropdown icon button">{{.locale.Tr "repo.commit.actions"}} - {{svg "octicon-triangle-down" 14 "dropdown icon"}}<span class="sr-mobile-only">{{.locale.Tr "repo.commit.actions"}}</span> + {{svg "octicon-triangle-down" 14 "dropdown icon"}} <div class="menu"> <div class="ui header">{{.locale.Tr "repo.commit.actions"}}</div> <div class="divider"></div> |