]> source.dussan.org Git - gitea.git/commitdiff
Add commit link for file list
authorUnknown <joe2010xtmf@163.com>
Mon, 17 Mar 2014 18:11:46 +0000 (14:11 -0400)
committerUnknown <joe2010xtmf@163.com>
Mon, 17 Mar 2014 18:11:46 +0000 (14:11 -0400)
README.md
templates/repo/single.tmpl

index 6589068e79f8c689d4dde34f57f66c9aa4274d06..fd1a14e0dabdf1a5cc4057fcba6611cd0283257f 100644 (file)
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@ Gogs(Go Git Service) is a GitHub-like clone in the Go Programming Language.
 
 Since we choose to use pure Go implementation of Git manipulation, Gogs certainly supports **ALL platforms**  that Go supports, including Linux, Max OS X, and Windows with **ZERO** dependency.
 
-##### Current version: 0.0.9 Alpha
+##### Current version: 0.1.0 Alpha
 
 ## Purpose
 
index 561deb253f770703772cb187f3d1e8b3a610a424..cbc82e51c1ac858dffc9758b4b4b6505e6591046 100644 (file)
                     <i class="fa {{if .IsDir}}fa-folder{{else}}fa-file-text-o{{end}}"></i>
                 </td>
                 <td class="name">
-                            <span class="wrap">
-                                {{if .IsDir}}
-                                <a href="/{{$username}}/{{$reponame}}/tree/{{$branchname}}/{{.Path}}">{{.Name}}</a>
-                                {{else}}
-                                <a href="/{{$username}}/{{$reponame}}/blob/{{$branchname}}/{{.Name}}">{{.Name}}</a>
-                                {{end}}
-                            </span>
+                    <span class="wrap">
+                        {{if .IsDir}}
+                        <a href="/{{$username}}/{{$reponame}}/tree/{{$branchname}}/{{.Path}}">{{.Name}}</a>
+                        {{else}}
+                        <a href="/{{$username}}/{{$reponame}}/blob/{{$branchname}}/{{.Name}}">{{.Name}}</a>
+                        {{end}}
+                    </span>
                 </td>
                 <td class="text">
-                            <span class="wrap">
-                                {{.Message}}
-                            </span>
+                    <span class="wrap"><a href="/{{$username}}/{{$reponame}}/commit/{{.LastCommit}}">{{.Message}}</a></span>
                 </td>
                 <td class="date">
-                            <span class="wrap">
-                                {{TimeSince .Created}}
-                            </span>
+                    <span class="wrap">{{TimeSince .Created}}</span>
                 </td>
                 </tr>
                 {{end}}