Provide option to disable gravatars.
[catagits/Gitalist.git] / root / ref / diff_fancy.tt2
index 312c097..6d084ab 100755 (executable)
@@ -13,7 +13,7 @@
        <td class='sha1' title='[% Commit.sha1 %]'>[% INCLUDE 'inc/chroma_hash.tt2' sha1 = Commit.sha1.substr(0, 7) %]</td>
        <td class='time-since' title='[% Commit.authored_time %]'>[% time_since(Commit.authored_time) %]</td>
        <td>[% short_cmt(Commit.comment) | html %]</td>
-       <td class='author'><img src="[% uri_for_gravatar(Commit.committer.email, 21) %]" />[% Commit.author.name | html %]</td>
+       <td class='author'>[% INCLUDE 'inc/gravatar.tt2' email = Commit.committer.email %][% Commit.author.name | html %]</td>
 </tr>
 </tbody>
 </table>