File tree 2 files changed +10
-3
lines changed
2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 25
25
{{ctx.Locale.Tr "admin.users.created"}}
26
26
{{SortArrow "recentupdate" "leastupdate" $.SortType false}}
27
27
</th>
28
- <th>{{ctx.Locale.Tr "admin.users.edit"}} </th>
28
+ <th></th>
29
29
</tr>
30
30
</thead>
31
31
<tbody>
45
45
<td>{{.NumMembers}}</td>
46
46
<td>{{.NumRepos}}</td>
47
47
<td>{{DateTime "short" .CreatedUnix}}</td>
48
- <td><a href="{{.OrganisationLink}}/settings">{{svg "octicon-pencil"}}</a></td>
48
+ <td><a href="{{.OrganisationLink}}/settings" data-tooltip-content="{{ctx.Locale.Tr "edit"}}" >{{svg "octicon-pencil"}}</a></td>
49
49
</tr>
50
50
{{end}}
51
51
</tbody>
Original file line number Diff line number Diff line change 77
77
{{ctx.Locale.Tr "admin.users.last_login"}}
78
78
{{SortArrow "lastlogin" "reverselastlogin" $.SortType false}}
79
79
</th>
80
+ <th></th>
80
81
</tr>
81
82
</thead>
82
83
<tbody>
83
84
{{range .Users}}
84
85
<tr>
85
86
<td>{{.ID}}</td>
86
87
<td>
87
- <a href="{{$.Link}}/{{.ID }}">{{.Name}}</a>
88
+ <a href="{{.HomeLink }}">{{.Name}}</a>
88
89
{{if .IsAdmin}}
89
90
<span class="ui mini label">{{ctx.Locale.Tr "admin.users.admin"}}</span>
90
91
{{else if eq 2 .Type}}{{/* Reserved user */}}
105
106
{{else}}
106
107
<td><span>{{ctx.Locale.Tr "admin.users.never_login"}}</span></td>
107
108
{{end}}
109
+ <td>
110
+ <div class="gt-df gt-gap-3">
111
+ <a href="{{$.Link}}/{{.ID}}" data-tooltip-content="{{ctx.Locale.Tr "admin.users.details"}}">{{svg "octicon-person"}}</a>
112
+ <a href="{{$.Link}}/{{.ID}}/edit" data-tooltip-content="{{ctx.Locale.Tr "edit"}}">{{svg "octicon-pencil"}}</a>
113
+ </div>
114
+ </td>
108
115
</tr>
109
116
{{end}}
110
117
</tbody>
You can’t perform that action at this time.
0 commit comments