Added a title attribute to the avatar links to give an overview who has posted on a topic even if no avatars are available.

This commit is contained in:
Martin Pauly 2015-07-11 12:26:02 +02:00
parent e75df20cc6
commit 5e078f833e

View file

@ -1,16 +1,16 @@
<template name="post_avatars"> <template name="post_avatars">
<div aria-hidden="true" aria-live="off"> <div aria-hidden="true" aria-live="off">
<a href="{{getProfileUrl userId}}" class="avatar-link avatar-small author-avatar"> <a href="{{getProfileUrl userId}}" title="{{getDisplayName userId}}" class="avatar-link avatar-small author-avatar">
{{> avatar userId=userId shape="circle"}} {{> avatar userId=userId shape="circle"}}
</a> </a>
{{#if commenters}} {{#if commenters}}
<div class="post-commenters"> <div class="post-commenters">
{{#each commenters}} {{#each commenters}}
<a href="{{getProfileUrl this}}" class="avatar-link avatar-small commenter-avatar"> <a href="{{getProfileUrl this}}" title="{{getDisplayName this}}" class="avatar-link avatar-small commenter-avatar">
{{> avatar userId=this shape="circle"}} {{> avatar userId=this shape="circle"}}
</a> </a>
{{/each}} {{/each}}
</div> </div>
{{/if}} {{/if}}
</div> </div>
</template> </template>