show a byline for for merged stories
This commit is contained in:
parent
0b85f3db23
commit
439f5702ee
|
@ -532,6 +532,9 @@ li .byline {
|
||||||
li.story .byline {
|
li.story .byline {
|
||||||
margin-top: 1px;
|
margin-top: 1px;
|
||||||
}
|
}
|
||||||
|
li.story span.byline {
|
||||||
|
margin-left: 0.5em;
|
||||||
|
}
|
||||||
li .byline a {
|
li .byline a {
|
||||||
color: #888;
|
color: #888;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
|
@ -48,6 +48,15 @@ class="story <%= story.vote == 1 ? "upvoted" : "" %> <%= story.vote == -1 ?
|
||||||
<% end %>
|
<% end %>
|
||||||
</span>
|
</span>
|
||||||
<span class="domain"><%= ms.domain %></span>
|
<span class="domain"><%= ms.domain %></span>
|
||||||
|
<span class="byline">
|
||||||
|
by <a href="/u/<%= ms.user.username %>"
|
||||||
|
<% if ms.user.is_new? %>
|
||||||
|
class="new_user"
|
||||||
|
<% end %>><%= ms.user.username %></a>
|
||||||
|
|
||||||
|
<%= raw(time_ago_in_words_label(ms.created_at).gsub(/^about /, ""))
|
||||||
|
%> ago
|
||||||
|
</span>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in a new issue