|
50 | 50 | <img class="ui tiny avatar image" width="24" height="24" src="{{.SignedUser.RelAvatarLink}}"> |
51 | 51 | <span class="sr-only">{{.i18n.Tr "user_profile_and_more"}}</span> |
52 | 52 | <span class="mobile-only">{{.SignedUser.Name}}</span> |
53 | | - <span class="fitted not-mobile" tabindex="-1">{{svg "octicon-triangle-down" 16}}</span> |
| 53 | + <span class="fitted not-mobile" tabindex="-1">{{svg "octicon-triangle-down"}}</span> |
54 | 54 | </span> |
55 | 55 | <div class="menu user-menu" tabindex="-1"> |
56 | 56 | <div class="ui header"> |
|
59 | 59 |
|
60 | 60 | <div class="divider"></div> |
61 | 61 | <a class="item link-action" href data-url="{{AppSubUrl}}/user/logout" data-redirect="{{AppSubUrl}}/"> |
62 | | - {{svg "octicon-sign-out" 16}} |
| 62 | + {{svg "octicon-sign-out"}} |
63 | 63 | {{.i18n.Tr "sign_out"}}<!-- Sign Out --> |
64 | 64 | </a> |
65 | 65 | </div><!-- end content avatar menu --> |
|
69 | 69 | <div class="right stackable menu"> |
70 | 70 | <a href="{{AppSubUrl}}/notifications" class="item poping up" data-content='{{.i18n.Tr "notifications"}}' data-variation="tiny inverted"> |
71 | 71 | <span class="text"> |
72 | | - <span class="fitted">{{svg "octicon-bell" 16}}</span> |
| 72 | + <span class="fitted">{{svg "octicon-bell"}}</span> |
73 | 73 | <span class="sr-mobile-only">{{.i18n.Tr "notifications"}}</span> |
74 | 74 | {{$notificationUnreadCount := 0}} |
75 | 75 | {{if .NotificationUnreadCount}}{{$notificationUnreadCount = call .NotificationUnreadCount}}{{end}} |
|
81 | 81 |
|
82 | 82 | <div class="ui dropdown jump item poping up" data-content="{{.i18n.Tr "create_new"}}" data-variation="tiny inverted"> |
83 | 83 | <span class="text"> |
84 | | - <span class="fitted">{{svg "octicon-plus" 16}}</span> |
| 84 | + <span class="fitted">{{svg "octicon-plus"}}</span> |
85 | 85 | <span class="sr-mobile-only">{{.i18n.Tr "create_new"}}</span> |
86 | | - <span class="fitted not-mobile">{{svg "octicon-triangle-down" 16}}</span> |
| 86 | + <span class="fitted not-mobile">{{svg "octicon-triangle-down"}}</span> |
87 | 87 | </span> |
88 | 88 | <div class="menu"> |
89 | 89 | <a class="item" href="{{AppSubUrl}}/repo/create"> |
90 | | - <span class="fitted">{{svg "octicon-plus" 16}}</span> {{.i18n.Tr "new_repo"}} |
| 90 | + <span class="fitted">{{svg "octicon-plus"}}</span> {{.i18n.Tr "new_repo"}} |
91 | 91 | </a> |
92 | 92 | <a class="item" href="{{AppSubUrl}}/repo/migrate"> |
93 | | - <span class="fitted">{{svg "octicon-repo-push" 16}}</span> {{.i18n.Tr "new_migrate"}} |
| 93 | + <span class="fitted">{{svg "octicon-repo-push"}}</span> {{.i18n.Tr "new_migrate"}} |
94 | 94 | </a> |
95 | 95 | {{if .SignedUser.CanCreateOrganization}} |
96 | 96 | <a class="item" href="{{AppSubUrl}}/org/create"> |
97 | | - <span class="fitted">{{svg "octicon-organization" 16}}</span> {{.i18n.Tr "new_org"}} |
| 97 | + <span class="fitted">{{svg "octicon-organization"}}</span> {{.i18n.Tr "new_org"}} |
98 | 98 | </a> |
99 | 99 | {{end}} |
100 | 100 | </div><!-- end content create new menu --> |
|
105 | 105 | <img class="ui tiny avatar image" width="24" height="24" src="{{.SignedUser.RelAvatarLink}}"> |
106 | 106 | <span class="sr-only">{{.i18n.Tr "user_profile_and_more"}}</span> |
107 | 107 | <span class="mobile-only">{{.SignedUser.Name}}</span> |
108 | | - <span class="fitted not-mobile" tabindex="-1">{{svg "octicon-triangle-down" 16}}</span> |
| 108 | + <span class="fitted not-mobile" tabindex="-1">{{svg "octicon-triangle-down"}}</span> |
109 | 109 | </span> |
110 | 110 | <div class="menu user-menu" tabindex="-1"> |
111 | 111 | <div class="ui header"> |
|
114 | 114 |
|
115 | 115 | <div class="divider"></div> |
116 | 116 | <a class="item" href="{{AppSubUrl}}/{{.SignedUser.Name}}"> |
117 | | - {{svg "octicon-person" 16}} |
| 117 | + {{svg "octicon-person"}} |
118 | 118 | {{.i18n.Tr "your_profile"}}<!-- Your profile --> |
119 | 119 | </a> |
120 | 120 | <a class="item" href="{{AppSubUrl}}/{{.SignedUser.Name}}?tab=stars"> |
121 | | - {{svg "octicon-star" 16}} |
| 121 | + {{svg "octicon-star"}} |
122 | 122 | {{.i18n.Tr "your_starred"}} |
123 | 123 | </a> |
124 | 124 | <a class="{{if .PageIsUserSettings}}active{{end}} item" href="{{AppSubUrl}}/user/settings"> |
125 | | - {{svg "octicon-tools" 16}} |
| 125 | + {{svg "octicon-tools"}} |
126 | 126 | {{.i18n.Tr "your_settings"}}<!-- Your settings --> |
127 | 127 | </a> |
128 | 128 | <a class="item" target="_blank" rel="noopener noreferrer" href="https://docs.gitea.io"> |
129 | | - {{svg "octicon-question" 16}} |
| 129 | + {{svg "octicon-question"}} |
130 | 130 | {{.i18n.Tr "help"}}<!-- Help --> |
131 | 131 | </a> |
132 | 132 | {{if .IsAdmin}} |
|
140 | 140 |
|
141 | 141 | <div class="divider"></div> |
142 | 142 | <a class="item link-action" href data-url="{{AppSubUrl}}/user/logout" data-redirect="{{AppSubUrl}}/"> |
143 | | - {{svg "octicon-sign-out" 16}} |
| 143 | + {{svg "octicon-sign-out"}} |
144 | 144 | {{.i18n.Tr "sign_out"}}<!-- Sign Out --> |
145 | 145 | </a> |
146 | 146 | </div><!-- end content avatar menu --> |
|
151 | 151 | <div class="right stackable menu"> |
152 | 152 | {{if .ShowRegistrationButton}} |
153 | 153 | <a class="item{{if .PageIsSignUp}} active{{end}}" href="{{AppSubUrl}}/user/sign_up"> |
154 | | - {{svg "octicon-person" 16}} {{.i18n.Tr "register"}} |
| 154 | + {{svg "octicon-person"}} {{.i18n.Tr "register"}} |
155 | 155 | </a> |
156 | 156 | {{end}} |
157 | 157 | <a class="item{{if .PageIsSignIn}} active{{end}}" rel="nofollow" href="{{AppSubUrl}}/user/login?redirect_to={{.CurrentURL}}"> |
158 | | - {{svg "octicon-sign-in" 16}} {{.i18n.Tr "sign_in"}} |
| 158 | + {{svg "octicon-sign-in"}} {{.i18n.Tr "sign_in"}} |
159 | 159 | </a> |
160 | 160 | </div><!-- end anonymous right menu --> |
161 | 161 | {{end}} |
|
0 commit comments