@@ -34,8 +34,25 @@ |
| 34 | {{ end }} | 34 | {{ end }} |
| 35 | <div class="shithub-nav-actions"> | 35 | <div class="shithub-nav-actions"> |
| 36 | {{- if .Viewer.ID }} | 36 | {{- if .Viewer.ID }} |
| 37 | - <a href="/notifications" class="shithub-button shithub-button-ghost" title="Notifications" aria-label="Notifications">{{ octicon "bell" }}</a> | 37 | + <a href="/settings/organizations" class="shithub-button shithub-button-ghost shithub-button-icon shithub-nav-icon" title="Your organizations" aria-label="Your organizations">{{ octicon "people" }}</a> |
| 38 | - <a href="/new" class="shithub-button shithub-button-ghost shithub-nav-new" title="New repository">{{ octicon "plus" }} <span class="shithub-nav-new-label">New</span></a> | 38 | + <span class="shithub-nav-actions-divider" aria-hidden="true"></span> |
| | 39 | + <details class="shithub-nav-action-menu shithub-create-menu"> |
| | 40 | + <summary class="shithub-button shithub-button-ghost shithub-nav-create" aria-label="Create new" title="Create new"> |
| | 41 | + {{ octicon "plus" }} {{ octicon "triangle-down" }} |
| | 42 | + </summary> |
| | 43 | + <div class="shithub-nav-action-panel" role="menu"> |
| | 44 | + <a role="menuitem" class="shithub-nav-action-item" href="/issues/new">{{ octicon "issue-opened" }} <span>New issue</span></a> |
| | 45 | + <a role="menuitem" class="shithub-nav-action-item" href="/new">{{ octicon "repo" }} <span>New repository</span></a> |
| | 46 | + <span role="menuitem" aria-disabled="true" class="shithub-nav-action-item is-disabled">{{ octicon "upload" }} <span>Import repository</span></span> |
| | 47 | + <div class="shithub-nav-action-divider" role="separator"></div> |
| | 48 | + <a role="menuitem" class="shithub-nav-action-item" href="/organizations/new">{{ octicon "organization" }} <span>New organization</span></a> |
| | 49 | + <span role="menuitem" aria-disabled="true" class="shithub-nav-action-item is-disabled">{{ octicon "table" }} <span>New project</span></span> |
| | 50 | + </div> |
| | 51 | + </details> |
| | 52 | + <a href="/issues/assigned" class="shithub-button shithub-button-ghost shithub-button-icon shithub-nav-icon" title="All issues" aria-label="All issues">{{ octicon "issue-opened" }}</a> |
| | 53 | + <a href="/pulls" class="shithub-button shithub-button-ghost shithub-button-icon shithub-nav-icon" title="All pull requests" aria-label="All pull requests">{{ octicon "git-pull-request" }}</a> |
| | 54 | + <a href="/repos" class="shithub-button shithub-button-ghost shithub-button-icon shithub-nav-icon" title="All repositories" aria-label="All repositories">{{ octicon "repo" }}</a> |
| | 55 | + <a href="/notifications?filter=unread" class="shithub-button shithub-button-ghost shithub-button-icon shithub-nav-icon" title="Notifications" aria-label="Notifications">{{ octicon "bell" }}</a> |
| 39 | <details class="shithub-user-menu"> | 56 | <details class="shithub-user-menu"> |
| 40 | <summary aria-label="User menu" aria-haspopup="menu"> | 57 | <summary aria-label="User menu" aria-haspopup="menu"> |
| 41 | <img src="/avatars/{{ .Viewer.Username }}" alt="" class="shithub-user-menu-avatar" width="24" height="24"> | 58 | <img src="/avatars/{{ .Viewer.Username }}" alt="" class="shithub-user-menu-avatar" width="24" height="24"> |