File tree 2 files changed +13
-25
lines changed
2 files changed +13
-25
lines changed Original file line number Diff line number Diff line change 12
12
{{range .LFSFiles}}
13
13
<tr>
14
14
<td>
15
- <span class="text sha label">
16
- <a href="{{$.Link}}/show/{{.Oid}}" title="{{.Oid}}" class="ui detail icon button brown truncate">
17
- {{ShortSha .Oid}}
18
- </a>
19
- </span>
15
+ <a href="{{$.Link}}/show/{{.Oid}}" title="{{.Oid}}" class="ui brown button gt-mono">
16
+ {{ShortSha .Oid}}
17
+ </a>
20
18
</td>
21
19
<td>{{FileSize .Size}}</td>
22
20
<td>{{TimeSince .CreatedUnix.AsTime $.locale}}</td>
Original file line number Diff line number Diff line change 22
22
<tr>
23
23
<th class="three wide">{{.locale.Tr "repo.settings.lfs_pointers.sha"}}</th>
24
24
<th class="four wide">{{.locale.Tr "repo.settings.lfs_pointers.oid"}}</th>
25
- <th class="three wide"></th>
26
25
<th class="two wide">{{.locale.Tr "repo.settings.lfs_pointers.inRepo"}}</th>
27
26
<th class="two wide">{{.locale.Tr "repo.settings.lfs_pointers.exists"}}</th>
28
27
<th class="two wide">{{.locale.Tr "repo.settings.lfs_pointers.accessible"}}</th>
28
+ <th class="three wide"></th>
29
29
</tr>
30
30
</thead>
31
31
<tbody>
32
32
{{range .Pointers}}
33
33
<tr>
34
34
<td>
35
- <span class="text sha label" title="{{.SHA}}">
36
- <a href="{{$.RepoLink}}/raw/blob/{{.SHA}}" rel="nofollow" target="_blank" class="ui detail icon button truncate">
37
- {{ShortSha .SHA}}
38
- </a>
39
- </span>
35
+ <a href="{{$.RepoLink}}/raw/blob/{{.SHA}}" rel="nofollow" target="_blank" title="{{.SHA}}" class="ui button gt-mono">
36
+ {{ShortSha .SHA}}
37
+ </a>
40
38
</td>
41
39
<td>
42
- <span class="text sha label" title="{{.Oid}}">
43
- {{if and .Exists .InRepo}}
44
- <a href="{{$.LFSFilesLink}}/show/{{.Oid}}" rel="nofollow" target="_blank" class="ui text detail icon button brown truncate">
45
- {{ShortSha .Oid}}
46
- </a>
47
- {{else}}
48
- <button class="ui detail icon button brown disabled truncate">
49
- {{ShortSha .Oid}}
50
- </button>
51
- {{end}}
52
- </span>
53
- </td>
54
- <td>
55
- <a class="ui primary button" href="{{$.LFSFilesLink}}/find?oid={{.Oid}}&size={{.Size}}&sha={{.SHA}}">{{$.locale.Tr "repo.settings.lfs_findcommits"}}</a>
40
+ <a {{if and .Exists .InRepo}}href="{{$.LFSFilesLink}}/show/{{.Oid}}" rel="nofollow" target="_blank"{{end}} title="{{.Oid}}" class="ui brown button gt-mono">
41
+ {{ShortSha .Oid}}
42
+ </a>
56
43
</td>
57
44
<td>{{if .InRepo}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}}</td>
58
45
<td>{{if .Exists}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}}</td>
59
46
<td>{{if .Accessible}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}}</td>
47
+ <td class="gt-text-right">
48
+ <a class="ui primary button" href="{{$.LFSFilesLink}}/find?oid={{.Oid}}&size={{.Size}}&sha={{.SHA}}">{{$.locale.Tr "repo.settings.lfs_findcommits"}}</a>
49
+ </td>
60
50
</tr>
61
51
{{end}}
62
52
</tbody>
You can’t perform that action at this time.
0 commit comments