Browse Source

Add labels to two buttons that were missing them (#20419)

tags/v1.18.0-rc0
techknowlogick 1 year ago
parent
commit
a701fd35cf
No account linked to committer's email address
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      templates/base/head_navbar.tmpl
  2. 1
    1
      templates/repo/clone_buttons.tmpl

+ 1
- 1
templates/base/head_navbar.tmpl View File

@@ -114,7 +114,7 @@
</div>
</div>

<a href="{{AppSubUrl}}/notifications" class="item tooltip not-mobile" data-content='{{.locale.Tr "notifications"}}'>
<a href="{{AppSubUrl}}/notifications" class="item tooltip not-mobile" data-content="{{.locale.Tr "notifications"}}" aria-label="{{.locale.Tr "notifications"}}">
<span class="text">
<span class="fitted">{{svg "octicon-bell"}}</span>
<span class="ui red label {{if not $notificationUnreadCount}}hidden{{end}} notification_count">

+ 1
- 1
templates/repo/clone_buttons.tmpl View File

@@ -19,6 +19,6 @@
document.getElementById('repo-clone-url').value = btn ? btn.getAttribute('data-link') : '';
})();
</script>
<button class="ui basic icon button tooltip" id="clipboard-btn" data-content="{{.locale.Tr "copy_url"}}" data-clipboard-target="#repo-clone-url">
<button class="ui basic icon button tooltip" id="clipboard-btn" data-content="{{.locale.Tr "copy_url"}}" data-clipboard-target="#repo-clone-url" aria-label="{{.locale.Tr "copy_url"}}">
{{svg "octicon-paste"}}
</button>

Loading…
Cancel
Save