|
11 | 11 | {{.locale.Tr "notification.read"}}
|
12 | 12 | </a>
|
13 | 13 | {{if and (eq .Status 1)}}
|
14 |
| - <form action="{{AppSubUrl}}/notifications/purge" method="POST" style="margin-left: auto;"> |
| 14 | + <form class="gt-ml-auto" action="{{AppSubUrl}}/notifications/purge" method="POST"> |
15 | 15 | {{$.CsrfTokenHtml}}
|
16 | 16 | <div class="{{if not $notificationUnreadCount}}gt-hidden{{end}}">
|
17 |
| - <button class="ui mini button primary" title='{{$.locale.Tr "notification.mark_all_as_read"}}'> |
| 17 | + <button class="ui mini button primary gt-mr-0" title='{{$.locale.Tr "notification.mark_all_as_read"}}'> |
18 | 18 | {{svg "octicon-checklist"}}
|
19 | 19 | </button>
|
20 | 20 | </div>
|
21 | 21 | </form>
|
22 | 22 | {{end}}
|
23 | 23 | </div>
|
24 |
| - <div class="ui bottom attached active tab segment"> |
| 24 | + <div class="ui bottom attached active tab segment gt-p-3"> |
25 | 25 | {{if eq (len .Notifications) 0}}
|
26 | 26 | {{if eq .Status 1}}
|
27 | 27 | {{.locale.Tr "notification.no_unread"}}
|
28 | 28 | {{else}}
|
29 | 29 | {{.locale.Tr "notification.no_read"}}
|
30 | 30 | {{end}}
|
31 | 31 | {{else}}
|
32 |
| - <table class="ui unstackable striped very compact small selectable table" id="notification_table"> |
| 32 | + <table class="ui unstackable very compact small table" id="notification_table"> |
33 | 33 | <tbody>
|
34 | 34 | {{range $notification := .Notifications}}
|
35 | 35 | {{$issue := .Issue}}
|
|
59 | 59 | {{end}}
|
60 | 60 | </td>
|
61 | 61 | <td class="eleven wide">
|
62 |
| - <a class="item" href="{{.Link}}"> |
| 62 | + <a class="item issue-title muted" href="{{.Link}}"> |
63 | 63 | {{if $issue}}
|
64 |
| - #{{$issue.Index}} - {{$issue.Title}} |
| 64 | + #{{$issue.Index}} - {{$issue.Title | RenderEmoji $.Context | RenderCodeBlock}} |
65 | 65 | {{else}}
|
66 | 66 | {{$repo.FullName}}
|
67 | 67 | {{end}}
|
68 | 68 | </a>
|
69 | 69 | </td>
|
70 | 70 | <td>
|
71 |
| - <a class="item" href="{{$repo.Link}}">{{$repo.FullName}}</a> |
| 71 | + <a class="item muted" href="{{$repo.Link}}">{{$repo.FullName}}</a> |
72 | 72 | </td>
|
73 | 73 | <td class="collapsing">
|
74 | 74 | {{if ne .Status 3}}
|
75 | 75 | <form action="{{AppSubUrl}}/notifications/status" method="POST">
|
76 | 76 | {{$.CsrfTokenHtml}}
|
77 | 77 | <input type="hidden" name="notification_id" value="{{.ID}}">
|
78 | 78 | <input type="hidden" name="status" value="pinned">
|
79 |
| - <button class="ui mini button" title='{{$.locale.Tr "notification.pin"}}' |
| 79 | + <button class="ui mini button button-link" title='{{$.locale.Tr "notification.pin"}}' |
80 | 80 | data-url="{{AppSubUrl}}/notifications/status"
|
81 | 81 | data-status="pinned"
|
82 | 82 | data-page="{{$.Page.Paginater.Current}}"
|
|
94 | 94 | <input type="hidden" name="notification_id" value="{{.ID}}">
|
95 | 95 | <input type="hidden" name="status" value="read">
|
96 | 96 | <input type="hidden" name="page" value="{{$.Page.Paginater.Current}}">
|
97 |
| - <button class="ui mini button" title='{{$.locale.Tr "notification.mark_as_read"}}' |
| 97 | + <button class="ui mini button button-link" title='{{$.locale.Tr "notification.mark_as_read"}}' |
98 | 98 | data-url="{{AppSubUrl}}/notifications/status"
|
99 | 99 | data-status="read"
|
100 | 100 | data-page="{{$.Page.Paginater.Current}}"
|
|
109 | 109 | <input type="hidden" name="notification_id" value="{{.ID}}">
|
110 | 110 | <input type="hidden" name="status" value="unread">
|
111 | 111 | <input type="hidden" name="page" value="{{$.Page.Paginater.Current}}">
|
112 |
| - <button class="ui mini button" title='{{$.locale.Tr "notification.mark_as_unread"}}' |
| 112 | + <button class="ui mini button button-link" title='{{$.locale.Tr "notification.mark_as_unread"}}' |
113 | 113 | data-url="{{AppSubUrl}}/notifications/status"
|
114 | 114 | data-status="unread"
|
115 | 115 | data-page="{{$.Page.Paginater.Current}}"
|
|
0 commit comments