forum posts, comments: make timestamps into permalinks.
Make the timestamp beneath the username on forum posts into a permalink that links to the post in full context of the thread. For comments, make the timestamp link to the comment in full context of the post. * Make the timestamp in forum posts link to /forum_posts/123. * Make the timestamp in comments link to /posts/456#comment_123. * Make /forum_posts/123 redirect to /forum_topics/456#forum_post_123. * Make /comments/123 redirect to /posts/456#comment_123. * Remove the "ID: ###" and "Permalink" fields from forum posts.
This commit is contained in:
@@ -15,8 +15,10 @@ div.list-of-messages {
|
||||
flex-basis: 12em;
|
||||
margin-right: 1em;
|
||||
|
||||
time {
|
||||
a.message-timestamp {
|
||||
font-style: italic;
|
||||
color: var(--text-color);
|
||||
&:hover { text-decoration: underline; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,7 +27,8 @@ div.list-of-messages {
|
||||
|
||||
menu {
|
||||
li {
|
||||
margin-right: 1em;
|
||||
padding: 0;
|
||||
margin-right: 1.5em;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -42,7 +45,7 @@ div.list-of-messages {
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
|
||||
time {
|
||||
a.message-timestamp {
|
||||
display: inline;
|
||||
color: var(--muted-text-color);
|
||||
font-size: 0.8em;
|
||||
|
||||
Reference in New Issue
Block a user