Skip to content

Commit

Permalink
Swap name / title in activity stream, link post number
Browse files Browse the repository at this point in the history
  • Loading branch information
tms committed Feb 10, 2013
1 parent c5e1dba commit f6b4d0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}}}
Expand Down
6 changes: 1 addition & 5 deletions app/assets/stylesheets/application/user.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -266,7 +262,7 @@
float: left;
margin-right: 10px;
}
.name {
.title {
display: inline-block;
margin-bottom: 4px;
font-size: 14px;
Expand Down

0 comments on commit f6b4d0d

Please sign in to comment.