Comment date show full date instead of short one (#1695)
Cette révision appartient à :
Parent
dd94402f04
révision
33964e017d
2 fichiers modifiés avec 10 ajouts et 6 suppressions
|
@ -1174,6 +1174,10 @@ html, body {
|
||||||
margin-top: 9px;
|
margin-top: 9px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.comment-box .comment-user {
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
.comment-box span+p img {
|
.comment-box span+p img {
|
||||||
width: 50px;
|
width: 50px;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
|
@ -1182,13 +1186,13 @@ html, body {
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.comment-box span+p span::before {
|
.comment-box .user-status::before {
|
||||||
content: '(';
|
content: '(';
|
||||||
}
|
}
|
||||||
.comment-box span+p span::after {
|
.comment-box .user-status::after {
|
||||||
content: ')';
|
content: ')';
|
||||||
}
|
}
|
||||||
.comment-box span+p span {
|
.comment-box .user-status {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
margin-left: 4px;
|
margin-left: 4px;
|
||||||
|
|
|
@ -204,11 +204,11 @@
|
||||||
<div class="torrent-info-box comment-box">
|
<div class="torrent-info-box comment-box">
|
||||||
<span class="comment-index">
|
<span class="comment-index">
|
||||||
<a href="#comment_{{idx}}">{{idx}}</a>
|
<a href="#comment_{{idx}}">{{idx}}</a>
|
||||||
<small style="padding-left: 4px;" class="date-short" title="{{formatDateRFC(element.Date)}}">{{formatDate(element.Date, false)}}</small>
|
<small style="padding-left: 4px;" class="date-full" title="{{formatDateRFC(element.Date)}}">{{formatDate(element.Date, false)}}</small>
|
||||||
</span>
|
</span>
|
||||||
<p><img src="https://www.gravatar.com/avatar/{{ element.UserAvatar }}"/>
|
<p><img src="https://www.gravatar.com/avatar/{{ element.UserAvatar }}"/>
|
||||||
{{if element.UserID > 0}}<a href="/user/{{element.UserID}}/{{element.Username}}" class="comment-user">{{element.Username}}</a><span>{{if element.UserStatus != ""}}{{T(element.UserStatus)}}{{end}}</span>{{else}}
|
{{if element.UserID > 0}}<a href="/user/{{element.UserID}}/{{element.Username}}" class="comment-user">{{element.Username}}</a>{{if element.UserStatus != ""}}<span class="user-status">{{T(element.UserStatus)}}</span>{{end}}{{else}}
|
||||||
<span>れんちょん</span>{{end}}
|
<span class="comment-user">れんちょん</span>{{end}}
|
||||||
<div class="comment-content">{{element.Content|raw}}</div>
|
<div class="comment-content">{{element.Content|raw}}</div>
|
||||||
</div>
|
</div>
|
||||||
{{idx = idx + 1}}
|
{{idx = idx + 1}}
|
||||||
|
|
Référencer dans un nouveau ticket