fix
This commit is contained in:
parent
111c621643
commit
eca4a3e927
2 changed files with 10 additions and 2 deletions
10
summary.tmpl
10
summary.tmpl
|
@ -29,6 +29,12 @@
|
|||
|
||||
{{- .Sep -}}
|
||||
|
||||
{{- if and .VCS (ne .I.VCS.Name "") -}}
|
||||
vcs {{ .I.VCS.Name }} (rev {{ .I.VCS.Revision }}) (at {{ .I.VCS.Time.Format "2006-01-02 15:04:05" }}){{- if .I.VCS.Modified }} (modified){{- end -}}
|
||||
{{- if .VCS -}}
|
||||
{{- $time := .I.VCS.Time.Format "2006-01-02 15:04:05" -}}
|
||||
|
||||
vcs
|
||||
{{- if ne .I.VCS.Name "" }} {{ .I.VCS.Name }}{{- end -}}
|
||||
{{- if ne .I.VCS.Revision "" }} (revision {{ .I.VCS.Revision }}){{- end -}}
|
||||
{{- if ne $time "" }} (at {{ $time }}){{- end -}}
|
||||
{{- if .I.VCS.Modified }} (modified){{- end -}}
|
||||
{{- end -}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue