diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-09-16 08:32:13 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-09-16 08:32:13 -0400 |
commit | c1ceec45da8c600dea2b932127519c04484258d8 (patch) | |
tree | 38c20ad2edd3cab0c7eb0a7c7ced86ea8460b3ef /templates/user/dashboard/dashboard.tmpl | |
parent | b162e565b3c2877d1991f905ccd1a3a567189ba6 (diff) | |
download | gitea-c1ceec45da8c600dea2b932127519c04484258d8.tar.gz gitea-c1ceec45da8c600dea2b932127519c04484258d8.zip |
Fix mirror UI style and work on #475
Diffstat (limited to 'templates/user/dashboard/dashboard.tmpl')
-rw-r--r-- | templates/user/dashboard/dashboard.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/user/dashboard/dashboard.tmpl b/templates/user/dashboard/dashboard.tmpl index bf0aba097b..2f9bbc4ed4 100644 --- a/templates/user/dashboard/dashboard.tmpl +++ b/templates/user/dashboard/dashboard.tmpl @@ -9,7 +9,7 @@ <div class="avatar left"> <img class="avatar-30" src="{{AvatarLink .GetActEmail}}" alt=""> </div> - <div class="content left {{if eq .GetOpType 5}}push-news{{end}}"> + <div class="content left {{if eq .GetOpType 5}}push-news{{end}} grid-4-5"> <p class="text-bold"> <a href="/{{.GetActUserName}}">{{.GetActUserName}}</a> {{if eq .GetOpType 1}} @@ -30,7 +30,7 @@ {{ $push := ActionContent2Commits .}} {{ $repoLink := .GetRepoLink}} {{range $push.Commits}} - <li><img class="avatar-16" src="{{AvatarLink .AuthorEmail}}?s=16"> <a href="/{{$repoLink}}/commit/{{.Sha1}}">{{ShortSha .Sha1}}</a> {{.Message}}</li> + <li><img class="avatar-16" src="{{AvatarLink .AuthorEmail}}?s=16"> <a href="/{{$repoLink}}/commit/{{.Sha1}}">{{ShortSha .Sha1}}</a> <span class="text-truncate grid-4-5">{{.Message}}</span></li> {{end}} </ul> </div> |