aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2024-10-08 20:18:05 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2024-10-08 20:18:05 +0200
commit1e14d4d35d90923a6108be568185a3f0961bdd2e (patch)
tree41e9f0298e85aeca3fefa4195551cc5bdcac40d2 /templates
parent385586d383acd0868ace3f5da2094dd87c1b89e3 (diff)
downloadcerrado-44367f42bde707dd94f41782e35a9a38ed0f6242.tar.gz
cerrado-44367f42bde707dd94f41782e35a9a38ed0f6242.tar.bz2
cerrado-44367f42bde707dd94f41782e35a9a38ed0f6242.zip
fix: User author info instead of committerHEADv0.0.16master
Make use of the correct information when displaying commit info.
Diffstat (limited to 'templates')
-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>