Update views/commit.twig

Force the gravatar image to load over HTTPS so that when gitlist is placed on a website that loads over HTTPS the insecure link doesn't break the padlock security alert in many popular browsers.
This commit is contained in:
Michael Yanovich
2012-09-13 19:09:02 -03:00
parent e17ffee12d
commit 4e022b7a58

View File

@@ -13,7 +13,7 @@
<h4>{{ commit.message }}</h4>
</div>
<div class="commit-body">
<img src="http://gravatar.com/avatar/{{ commit.author.email | md5 }}?s=32" class="pull-left space-right" />
<img src="https://gravatar.com/avatar/{{ commit.author.email | md5 }}?s=32" class="pull-left space-right" />
<span><a href="mailto:{{ commit.author.email }}">{{ commit.author.name }}</a> authored in {{ commit.date | date('d/m/Y \\a\\t H:i:s') }}<br />Showing {{ commit.changedFiles }} changed files</span>
</div>
</div>