Add avatars to history view.

This commit is contained in:
Chase Sterling 2015-12-16 00:30:33 -05:00
parent c2cc26e086
commit 24fbb6597d
2 changed files with 7 additions and 4 deletions

View file

@ -22,7 +22,7 @@
<input type="checkbox" name="versions[]" value="{{ h.sha }}" />
{% endif %}
</td>
<td>{{ h.author }}</td>
<td><img src="{{ h.gravatar }}?s=20" class="avatar"/> {{ h.author }}</td>
<td><a href="{{ url_for('wiki.commit', name=name, sha=h.sha) }}" class='label label-primary'>View</a> {{ h.message }} </td>
<td>{{ h.time|datetime }}</td>
</tr>
@ -57,4 +57,4 @@
});
});
</script>
{% endblock %}
{% endblock %}