mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-22 12:49:21 +02:00
Show retweet info in status
This commit is contained in:
parent
3847954687
commit
59eaff9512
|
@ -1,6 +1,9 @@
|
|||
.status-container-container {
|
||||
margin: 16px 0;
|
||||
}
|
||||
|
||||
.status-container {
|
||||
display: flex;
|
||||
margin: 16px 0;
|
||||
}
|
||||
|
||||
.status-content {
|
||||
|
@ -107,3 +110,22 @@
|
|||
.signin-form input {
|
||||
margin: 4px 0;
|
||||
}
|
||||
|
||||
.retweet-info {
|
||||
margin: 8px 0 4px 24px;
|
||||
}
|
||||
|
||||
.retweet-info .status-profile-img {
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
margin-bottom: -8px;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.retweet-info .status-dname{
|
||||
margin-left: 4px
|
||||
}
|
||||
|
||||
.retweet-info .icon.dripicons-retweet.retweeted {
|
||||
vertical-align: sub;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,15 @@
|
|||
<div class="status-container">
|
||||
<div class="status-container-container">
|
||||
{{if .Reblog}}
|
||||
<div class="retweet-info">
|
||||
<img class="status-profile-img" src="{{.Account.AvatarStatic}}" alt="profile-avatar" />
|
||||
<span class="status-dname"> {{WithEmojis .Account.DisplayName .Account.Emojis}} </span>
|
||||
<span class="icon dripicons-retweet retweeted"></span>
|
||||
repeated
|
||||
</div>
|
||||
{{template "status" .Reblog}}
|
||||
{{else}}
|
||||
{{block "status" .}}
|
||||
<div class="status-container">
|
||||
<div>
|
||||
<img class="status-profile-img" src="{{.Account.AvatarStatic}}" alt="profile-avatar" />
|
||||
</div>
|
||||
|
@ -61,4 +72,7 @@
|
|||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{end}}
|
||||
{{end}}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue