diff options
| author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-10-08 20:18:05 +0200 | 
|---|---|---|
| committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-10-08 20:18:05 +0200 | 
| commit | 1e14d4d35d90923a6108be568185a3f0961bdd2e (patch) | |
| tree | 41e9f0298e85aeca3fefa4195551cc5bdcac40d2 /templates | |
| parent | 385586d383acd0868ace3f5da2094dd87c1b89e3 (diff) | |
| download | cerrado-1e14d4d35d90923a6108be568185a3f0961bdd2e.tar.gz cerrado-1e14d4d35d90923a6108be568185a3f0961bdd2e.tar.bz2 cerrado-1e14d4d35d90923a6108be568185a3f0961bdd2e.zip | |
fix: User author info instead of committerv0.0.16
Make use of the correct information when displaying commit info.
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/commit.qtpl | 2 | ||||
| -rw-r--r-- | templates/commit.qtpl.go | 4 | 
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> | 
