aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/commit.qtpl2
-rw-r--r--templates/commit.qtpl.go4
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/commit.qtpl b/templates/commit.qtpl
index 2b58864..ae26a51 100644
--- a/templates/commit.qtpl
+++ b/templates/commit.qtpl
@@ -12,7 +12,7 @@
</div>
{% endif %}
<div class="col-md text-md-end">
- <a title="{%s c.Committer.Email %}" href="mailto:{%s c.Committer.Email %}">{%s c.Committer.Name %}</a>
+ <a title="{%s c.Committer.Email %}" href="mailto:{%s c.Author.Email %}">{%s c.Author.Name %}</a>
</div>
</div>
<div class="code-view">
diff --git a/templates/commit.qtpl.go b/templates/commit.qtpl.go
index 9a25741..fac2e88 100644
--- a/templates/commit.qtpl.go
+++ b/templates/commit.qtpl.go
@@ -77,11 +77,11 @@ func StreamCommit(qw422016 *qt422016.Writer, name string, c *object.Commit, show
//line templates/commit.qtpl:15
qw422016.N().S(`" href="mailto:`)
//line templates/commit.qtpl:15
- qw422016.E().S(c.Committer.Email)
+ qw422016.E().S(c.Author.Email)
//line templates/commit.qtpl:15
qw422016.N().S(`">`)
//line templates/commit.qtpl:15
- qw422016.E().S(c.Committer.Name)
+ qw422016.E().S(c.Author.Name)
//line templates/commit.qtpl:15
qw422016.N().S(`</a>
</div>