Swap name / title in activity stream, link post number

This commit is contained in:
tms 2013-02-09 22:33:07 -05:00
parent c5e1dba31f
commit f6b4d0d57a
2 changed files with 4 additions and 7 deletions

View file

@ -4,9 +4,10 @@
<div class='clearfix info'>
<a href="/users/{{unbound username}}" class='avatar-link'><div class='avatar-wrapper'>{{avatar this imageSize="large" extraClasses="actor" avatarTemplatePath="avatar_template"}}</div></a>
<span class='time'>{{date path="created_at" leaveAgo="true"}}</span>
<a class='name' href="{{unbound postUrl}}">{{unbound name}}</a><br>
<a class="title" href="{{unbound postUrl}}">{{unbound title}}</a><br>
<a class='name' href="/users/{{unbound username}}">{{unbound name}}</a>
<span class='type'>{{unbound description}}</span>
<span class='title'><span class="post-number">#{{unbound post_number}}</span> <a href="{{unbound postUrl}}">{{unbound title}}</a></span>
<a class="post-number" href="{{unbound postUrl}}">#{{unbound post_number}}</a>
</div>
<p class='excerpt'>
{{{unbound excerpt}}}

View file

@ -241,10 +241,6 @@
color: lighten($black, 30%);
}
.item {
.post-number {
color: lighten($black, 40%);
margin-right: 4px;
}
padding: 10px 8px;
background-color: white;
border: 1px solid #b9b9b9;
@ -266,7 +262,7 @@
float: left;
margin-right: 10px;
}
.name {
.title {
display: inline-block;
margin-bottom: 4px;
font-size: 14px;