From f3034b1fd9d6cf12fe2c72564e28a3037699b1e7 Mon Sep 17 00:00:00 2001 From: zeripath Date: Fri, 13 Jan 2023 23:23:39 +0000 Subject: [PATCH] Remove duplicate "Actions" label in mobile view (#21974) (#22439) Backport #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 Co-authored-by: Mark Ormesher Co-authored-by: Lunny Xiao Co-authored-by: John Olheiser --- templates/repo/commit_page.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/commit_page.tmpl b/templates/repo/commit_page.tmpl index 8ece768832..4270ce302c 100644 --- a/templates/repo/commit_page.tmpl +++ b/templates/repo/commit_page.tmpl @@ -27,7 +27,7 @@ {{if and ($.Permission.CanWrite $.UnitTypeCode) (not $.Repository.IsArchived) (not .IsDeleted)}}{{- /* */ -}}