mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-08-12 00:46:28 +00:00
Merge pull request #161 from floatdrop/identicon
Add identicon query param to GravatarPattern
This commit is contained in:
commit
b6c64cea96
@ -16,7 +16,7 @@ var (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// Gravatar URL pattern
|
// Gravatar URL pattern
|
||||||
var GravatarPattern = "https://gravatar.com/avatar/%s?s=%v"
|
var GravatarPattern = "https://gravatar.com/avatar/%s?s=%v&d=identicon"
|
||||||
|
|
||||||
// Simple regular expression used to verify that an email
|
// Simple regular expression used to verify that an email
|
||||||
// address matches the expected standard format.
|
// address matches the expected standard format.
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
<dt>Duration</dt>
|
<dt>Duration</dt>
|
||||||
<dd>{{ if .Build.IsRunning }}--{{else}}{{ .Build.HumanDuration }}{{end}}</dd>
|
<dd>{{ if .Build.IsRunning }}--{{else}}{{ .Build.HumanDuration }}{{end}}</dd>
|
||||||
</div>
|
</div>
|
||||||
<img src="{{.Commit.Image}}?d=identicon">
|
<img src="{{.Commit.Image}}">
|
||||||
<div class="commit-summary">
|
<div class="commit-summary">
|
||||||
<dt>Commit</dt>
|
<dt>Commit</dt>
|
||||||
<dd><u>{{ .Commit.HashShort }}</u></dd>
|
<dd><u>{{ .Commit.HashShort }}</u></dd>
|
||||||
|
Loading…
Reference in New Issue
Block a user