aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/view_content.tmpl
diff options
context:
space:
mode:
authorSorien <Sorien@users.noreply.github.com>2020-04-11 00:01:41 +0200
committerGitHub <noreply@github.com>2020-04-11 01:01:41 +0300
commitc97e9883801d28ca44b8b7049a4285c8d904eea8 (patch)
tree4477bbe9f8eaec7a5440eb77dbab8916bcbe2981 /templates/repo/issue/view_content.tmpl
parentbc362ea3c611a94e7920a3cf4691fd108f874ef0 (diff)
downloadgitea-c97e9883801d28ca44b8b7049a4285c8d904eea8.tar.gz
gitea-c97e9883801d28ca44b8b7049a4285c8d904eea8.zip
Prettify Timeline (#10972)
Co-authored-by: mrsdizzie <info@mrsdizzie.com>
Diffstat (limited to 'templates/repo/issue/view_content.tmpl')
-rw-r--r--templates/repo/issue/view_content.tmpl16
1 files changed, 8 insertions, 8 deletions
diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl
index 622c09dc02..b003342c3f 100644
--- a/templates/repo/issue/view_content.tmpl
+++ b/templates/repo/issue/view_content.tmpl
@@ -10,12 +10,12 @@
{{ $createdStr:= TimeSinceUnix .Issue.CreatedUnix $.Lang }}
<div class="twelve wide column comment-list prevent-before-timeline">
- <ui class="ui comments timeline-line">
- <div id="{{.Issue.HashTag}}" class="comment">
+ <ui class="ui timeline">
+ <div id="{{.Issue.HashTag}}" class="timeline-item comment first">
{{if .Issue.OriginalAuthor }}
- <span class="avatar"><img src="/img/avatar_default.png"></span>
+ <span class="timeline-avatar"><img src="/img/avatar_default.png"></span>
{{else}}
- <a class="avatar" {{if gt .Issue.Poster.ID 0}}href="{{.Issue.Poster.HomeLink}}"{{end}}>
+ <a class="timeline-avatar" {{if gt .Issue.Poster.ID 0}}href="{{.Issue.Poster.HomeLink}}"{{end}}>
<img src="{{.Issue.Poster.RelAvatarLink}}">
</a>
{{end}}
@@ -67,8 +67,8 @@
{{end}}
{{if .IsSigned}}
{{ if and (or .IsRepoAdmin .HasIssuesOrPullsWritePermission (or (not .Issue.IsLocked))) (not .Repository.IsArchived) }}
- <div class="comment form">
- <a class="avatar" href="{{.SignedUser.HomeLink}}">
+ <div class="timeline-item comment form">
+ <a class="timeline-avatar" href="{{.SignedUser.HomeLink}}">
<img src="{{.SignedUser.RelAvatarLink}}">
</a>
<div class="content">
@@ -116,8 +116,8 @@
{{else}}
{{if .IsSigned}}
{{if .Repository.IsArchived}}
- <div class="comment form">
- <a class="avatar" href="{{.SignedUser.HomeLink}}">
+ <div class="timeline-item comment form">
+ <a class="timeline-avatar" href="{{.SignedUser.HomeLink}}">
<img src="{{.SignedUser.RelAvatarLink}}">
</a>
<div class="content">