Comment when/author link styling changes
This commit is contained in:
parent
05ad187b86
commit
64308aca3f
@ -360,6 +360,25 @@ textarea#description, textarea#bio {
|
|||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a.comment_authorlink {
|
||||||
|
text-decoration: none;
|
||||||
|
padding-right: 5px;
|
||||||
|
font-weight: bold;
|
||||||
|
padding-left: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.comment_authorlink:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.comment_whenlink {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.comment_whenlink:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
.comment_content {
|
.comment_content {
|
||||||
margin-left: 8px;
|
margin-left: 8px;
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
|
@ -117,13 +117,15 @@
|
|||||||
<div class="comment_author">
|
<div class="comment_author">
|
||||||
<img src="{{ request.staticdirect('/images/icon_comment.png') }}" />
|
<img src="{{ request.staticdirect('/images/icon_comment.png') }}" />
|
||||||
<a href="{{ request.urlgen('mediagoblin.user_pages.user_home',
|
<a href="{{ request.urlgen('mediagoblin.user_pages.user_home',
|
||||||
user=comment_author.username) }}">
|
user=comment_author.username) }}"
|
||||||
|
class="comment_authorlink">
|
||||||
{{- comment_author.username -}}
|
{{- comment_author.username -}}
|
||||||
</a>
|
</a>
|
||||||
<a href="{{ request.urlgen('mediagoblin.user_pages.media_home.view_comment',
|
<a href="{{ request.urlgen('mediagoblin.user_pages.media_home.view_comment',
|
||||||
comment=comment.id,
|
comment=comment.id,
|
||||||
user=media.get_uploader.username,
|
user=media.get_uploader.username,
|
||||||
media=media.slug_or_id) }}#comment">
|
media=media.slug_or_id) }}#comment"
|
||||||
|
class="comment_whenlink">
|
||||||
<span title='{{- comment.created.strftime("%I:%M%p %Y-%m-%d") -}}'>
|
<span title='{{- comment.created.strftime("%I:%M%p %Y-%m-%d") -}}'>
|
||||||
{%- trans formatted_time=timesince(comment.created) -%}
|
{%- trans formatted_time=timesince(comment.created) -%}
|
||||||
{{ formatted_time }} ago
|
{{ formatted_time }} ago
|
||||||
|
Loading…
x
Reference in New Issue
Block a user