diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-09-26 08:55:13 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-09-26 08:55:13 -0400 |
commit | b8368f98ffc79a6c6c7bceed50a2989049d3eb1a (patch) | |
tree | eb6918a6539cfa68b6cc4a582c21fd0e3e4d2348 /templates | |
parent | 3164354255a01e98b1c5d4d668c3b1c62474b240 (diff) | |
download | gitea-b8368f98ffc79a6c6c7bceed50a2989049d3eb1a.tar.gz gitea-b8368f98ffc79a6c6c7bceed50a2989049d3eb1a.zip |
Add directory level commit message
Diffstat (limited to 'templates')
-rw-r--r-- | templates/.VERSION | 2 | ||||
-rw-r--r-- | templates/repo/view_list.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/.VERSION b/templates/.VERSION index 87b06b8162..59eee24b76 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.5.4.0925 Beta
\ No newline at end of file +0.5.4.0926 Beta
\ No newline at end of file diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl index 850c761641..e6c43d9e40 100644 --- a/templates/repo/view_list.tmpl +++ b/templates/repo/view_list.tmpl @@ -4,7 +4,7 @@ <th colspan="4" class="clear"> <span class="author left"> <img class="avatar-24 radius" src="{{AvatarLink .LastCommit.Author.Email}}" /> - <a href="{{AppSubUrl}}/user/email2user?email={{.LastCommit.Author.Email}}"><strong>{{.LastCommit.Author.Name}}</strong>:</a> + {{if .LastCommitUser}}<a href="{{AppSubUrl}}/{{.LastCommitUser}}">{{end}}<strong>{{.LastCommit.Author.Name}}</strong>:{{if .LastCommitUser}}</a>{{end}} </span> <span class="last-commit"><a href="{{.RepoLink}}/commit/{{.LastCommit.Id}}" rel="nofollow"> <strong>{{ShortSha .LastCommit.Id.String}}</strong></a> |