File tree 2 files changed +46
-2
lines changed
2 files changed +46
-2
lines changed Original file line number Diff line number Diff line change 41
41
{{if .Repository.OriginalURL}} ({{$.i18n.Tr "repo.migrated_from" (.Repository.OriginalURL|Escape) (.Repository.GetOriginalURLHostname|Escape) | Safe }}){{end}}
42
42
</span>
43
43
{{else}}
44
+ <a class="inline-timeline-avatar" href="{{.Issue.Poster.HomeLink}}">
45
+ {{avatar .Issue.Poster}}
46
+ </a>
44
47
<span class="text grey">
45
48
<a class="author"{{if gt .Issue.Poster.ID 0}} href="{{.Issue.Poster.HomeLink}}"{{end}}>{{.Issue.Poster.GetDisplayName}}</a>
46
49
{{.i18n.Tr "repo.issues.commented_at" (.Issue.HashTag|Escape) $createdStr | Safe}}
50
53
<div class="comment-header-right actions df ac">
51
54
{{if gt .Issue.ShowRole 0}}
52
55
{{if (.Issue.ShowRole.HasRole "Writer")}}
53
- <div class="ui basic label">
56
+ <div class="ui basic label role-label ">
54
57
{{$.i18n.Tr "repo.issues.collaborator"}}
55
58
</div>
56
59
{{end}}
57
60
{{if (.Issue.ShowRole.HasRole "Owner")}}
58
- <div class="ui basic label">
61
+ <div class="ui basic label role-label ">
59
62
{{$.i18n.Tr "repo.issues.owner"}}
60
63
</div>
61
64
{{end}}
Original file line number Diff line number Diff line change 861
861
}
862
862
}
863
863
864
+ .inline-timeline-avatar {
865
+ display : none ;
866
+ }
867
+
864
868
.avatar.image ,
865
869
.avatar.image img {
866
870
width : 20px ;
@@ -3284,4 +3288,41 @@ td.blob-excerpt {
3284
3288
width : 50% ;
3285
3289
}
3286
3290
}
3291
+
3292
+ .repository.view.issue .comment-list {
3293
+ .timeline ,
3294
+ .timeline-item {
3295
+ margin-left : 0 ;
3296
+ }
3297
+
3298
+ .timeline {
3299
+ & ::before {
3300
+ left : 14px ;
3301
+ }
3302
+
3303
+ .inline-timeline-avatar {
3304
+ display : flex ;
3305
+ margin-bottom : auto ;
3306
+
3307
+ img .avatar.image {
3308
+ height : 24px ;
3309
+ width : 24px ;
3310
+ }
3311
+ }
3312
+
3313
+ .comment-header {
3314
+ & ::before ,
3315
+ & ::after {
3316
+ content : unset ;
3317
+ }
3318
+
3319
+ padding-left : 4px ;
3320
+ }
3321
+
3322
+ .timeline-avatar ,
3323
+ .comment-header-right .role-label {
3324
+ display : none ;
3325
+ }
3326
+ }
3327
+ }
3287
3328
}
You can’t perform that action at this time.
0 commit comments