diff options
author | Andrey Nering <andrey.nering@gmail.com> | 2016-03-02 21:18:58 -0300 |
---|---|---|
committer | Andrey Nering <andrey.nering@gmail.com> | 2016-03-02 21:54:05 -0300 |
commit | 13e71acadf538124724c24b6332e4fa8a59baadb (patch) | |
tree | f49edfe271408ae5cc6cd3275e64512a2312d780 /templates/user | |
parent | 37ac743da7ba2931dfaaa947bf73ed55534e6f29 (diff) | |
download | gitea-13e71acadf538124724c24b6332e4fa8a59baadb.tar.gz gitea-13e71acadf538124724c24b6332e4fa8a59baadb.zip |
Render emojis in more places.
Diffstat (limited to 'templates/user')
-rw-r--r-- | templates/user/dashboard/feeds.tmpl | 14 | ||||
-rw-r--r-- | templates/user/dashboard/issues.tmpl | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/templates/user/dashboard/feeds.tmpl b/templates/user/dashboard/feeds.tmpl index 7bb83d665b..4206308e3b 100644 --- a/templates/user/dashboard/feeds.tmpl +++ b/templates/user/dashboard/feeds.tmpl @@ -46,23 +46,23 @@ {{ $repoLink := .GetRepoLink}} {{if $push.Commits}} {{range $push.Commits}} - <li><img class="img-8" src="{{$push.AvatarLink .AuthorEmail}}"> <a class="commit-id" href="{{$repoLink}}/commit/{{.Sha1}}">{{ShortSha .Sha1}}</a> <span class="text truncate light grey">{{.Message}}</span></li> + <li><img class="img-8" src="{{$push.AvatarLink .AuthorEmail}}"> <a class="commit-id" href="{{$repoLink}}/commit/{{.Sha1}}">{{ShortSha .Sha1}}</a> <span class="text truncate light grey has-emoji">{{.Message}}</span></li> {{end}} {{end}} {{if and (gt $push.Len 1) $push.CompareUrl}}<li><a href="{{AppSubUrl}}/{{$push.CompareUrl}}">{{$.i18n.Tr "action.compare_commits" $push.Len}} ยป</a></li>{{end}} </ul> </div> {{else if eq .GetOpType 6}} - <span class="text truncate issue title">{{index .GetIssueInfos 1}}</span> + <span class="text truncate issue title has-emoji">{{index .GetIssueInfos 1}}</span> {{else if eq .GetOpType 7}} - <p class="text light grey">{{index .GetIssueInfos 1}}</p> + <p class="text light grey has-emoji">{{index .GetIssueInfos 1}}</p> {{else if eq .GetOpType 10}} - <span class="text truncate issue title">{{.GetIssueTitle}}</span> - <p class="text light grey">{{index .GetIssueInfos 1}}</p> + <span class="text truncate issue title has-emoji">{{.GetIssueTitle}}</span> + <p class="text light grey has-emoji">{{index .GetIssueInfos 1}}</p> {{else if eq .GetOpType 11}} - <p class="text light grey">{{index .GetIssueInfos 1}}</p> + <p class="text light grey has-emoji">{{index .GetIssueInfos 1}}</p> {{else if (or (eq .GetOpType 12) (eq .GetOpType 13))}} - <span class="text truncate issue title">{{.GetIssueTitle}}</span> + <span class="text truncate issue title has-emoji">{{.GetIssueTitle}}</span> {{end}} <p class="text italic light grey">{{TimeSince .GetCreate $.i18n.Lang}}</p> </div> diff --git a/templates/user/dashboard/issues.tmpl b/templates/user/dashboard/issues.tmpl index a99a478170..c8d17b3cdd 100644 --- a/templates/user/dashboard/issues.tmpl +++ b/templates/user/dashboard/issues.tmpl @@ -62,7 +62,7 @@ {{ $timeStr:= TimeSince .Created $.Lang }} <li class="item"> <div class="ui label">{{if not $.RepoID}}{{.Repo.Name}}{{end}}#{{.Index}}</div> - <a class="title" href="{{AppSubUrl}}/{{.Repo.Owner.Name}}/{{.Repo.Name}}/issues/{{.Index}}">{{.Name}}</a> + <a class="title has-emoji" href="{{AppSubUrl}}/{{.Repo.Owner.Name}}/{{.Repo.Name}}/issues/{{.Index}}">{{.Name}}</a> {{if .NumComments}} <span class="comment ui right"><i class="octicon octicon-comment"></i> {{.NumComments}}</span> |