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

tab edit mode

This commit is contained in:
Harvey Kandola 2016-11-10 11:19:26 -08:00
parent 3965f6e94c
commit 9fe115a9bd
13 changed files with 126 additions and 106 deletions

View file

@ -102,7 +102,7 @@ func Callback(res http.ResponseWriter, req *http.Request) error {
return err
}
target := up.Scheme + "://" + up.Host + up.Path + "?code=" + gt.AccessToken
target := up.Scheme + "://" + up.Host + up.Path + "?mode=edit&code=" + gt.AccessToken
http.Redirect(res, req, target, http.StatusTemporaryRedirect)

View file

@ -85,9 +85,8 @@ const commitsTemplate = `
</td>
<td class="right-column">
<div class="contributor-meta">
<img class="github-avatar" alt="@{{$commit.Name}}" src="{{$commit.Avatar}}" />
{{$commit.Name}}
&middot; {{$commit.Date}}
<img class="github-avatar" title="@{{$commit.Name}}" alt="@{{$commit.Name}}" src="{{$commit.Avatar}}" />
{{$commit.Date}}
</div>
</td>
</tr>