File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 66 <div class="ui stackable grid">
77 <div class="ui eight wide column">
88 <div class="ui header">
9- <a class="file-revisions-btn ui basic button" title="{{ctx.Locale.Tr "repo.wiki.back_to_wiki"}}" href="{{.RepoLink}}/wiki/{{.PageURL}}"><span>{{.revision}}</span> {{svg "octicon-home"}}</a>
9+ <a class="file-revisions-btn ui basic button" title="{{ctx.Locale.Tr "repo.wiki.back_to_wiki"}}" href="{{.RepoLink}}/wiki/{{.PageURL}}">{{if .revision}} <span>{{.revision}}</span> {{end}} {{svg "octicon-home"}}</a>
1010 {{$title}}
1111 <div class="ui sub header tw-break-anywhere">
1212 {{$timeSince := DateUtils.TimeSince .Author.When}}
Original file line number Diff line number Diff line change 3333 <div class="ui dividing header">
3434 <div class="flex-text-block tw-flex-wrap tw-justify-end">
3535 <div class="flex-text-block tw-flex-1 tw-min-w-[300px]">
36- <a class="file-revisions-btn ui basic button" title="{{ctx.Locale.Tr "repo.wiki.file_revision"}}" href="{{.RepoLink}}/wiki/{{.PageURL}}?action=_revision" ><span>{{.CommitCount}}</span> {{svg "octicon-history"}}</a>
36+ <a class="file-revisions-btn ui basic button" title="{{ctx.Locale.Tr "repo.wiki.file_revision"}}" href="{{.RepoLink}}/wiki/{{.PageURL}}?action=_revision" >{{if .CommitCount}} <span>{{.CommitCount}}</span> {{end}} {{svg "octicon-history"}}</a>
3737 <div class="tw-flex-1 gt-ellipsis">
3838 {{$title}}
3939 <div class="ui sub header gt-ellipsis">
You can’t perform that action at this time.
0 commit comments