Expose the author URL in "commits" example (#2751)

This commit is contained in:
Phan An 2016-04-29 08:44:36 +08:00 committed by Evan You
parent da7f2731e2
commit 6f06f1b724

View File

@ -36,7 +36,7 @@
<li v-for="record in commits">
<a :href="record.html_url" target="_blank" class="commit">{{record.sha.slice(0, 7)}}</a>
- <span class="message">{{truncate(record.commit.message)}}</span><br>
by <span class="author">{{record.commit.author.name}}</span>
by <span class="author"><a :href="record.author.html_url" target="_blank">{{record.commit.author.name}}</a></span>
at <span class="date">{{formatDate(record.commit.author.date)}}</span>
</li>
</ul>