File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 6
6
<div class =" ui stackable grid" >
7
7
<div class =" ui eight wide column" >
8
8
<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 >
10
10
{{ $title }}
11
11
<div class =" ui sub header tw-break-anywhere" >
12
12
{{ $timeSince := DateUtils.TimeSince .Author.When }}
Original file line number Diff line number Diff line change 33
33
<div class =" ui dividing header" >
34
34
<div class =" flex-text-block tw-flex-wrap tw-justify-end" >
35
35
<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 >
37
37
<div class =" tw-flex-1 gt-ellipsis" >
38
38
{{ $title }}
39
39
<div class =" ui sub header gt-ellipsis" >
You can’t perform that action at this time.
0 commit comments