1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 23:59:47 +02:00

GitHub section improvements

This commit is contained in:
Harvey Kandola 2017-05-17 07:22:18 +01:00
parent 60131df628
commit 65666c5a89
11 changed files with 686 additions and 668 deletions

View file

@ -71,7 +71,7 @@ const commitsTemplate = `
<table class="github-table" style="width: 100%;">
<thead>
<tr>
<th class="title">Commits <span>&middot; {{len .BranchCommits}} commits by {{.NumContributors}} contributors</span>
<th class="title">Commits <span>&middot; {{len .BranchCommits}} commits</span>
</th>
<th></th>
</tr>
@ -85,8 +85,8 @@ const commitsTemplate = `
</td>
<td class="right-column">
<div class="contributor-meta">
<img class="github-avatar" title="@{{$commit.Name}}" alt="@{{$commit.Name}}" src="{{$commit.Avatar}}" />
{{$commit.Date}}
<img class="github-avatar" title="@{{$commit.Name}}" alt="@{{$commit.Name}}" src="{{$commit.Avatar}}" />
</div>
</td>
</tr>