Skip to content
This repository has been archived by the owner on Feb 15, 2019. It is now read-only.

Commit

Permalink
Make tweet source somewhat less important looking
Browse files Browse the repository at this point in the history
  • Loading branch information
cramforce committed Sep 11, 2011
1 parent fc855c8 commit a53fc37
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions public/css/stream.less
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,11 @@
a{
font-weight:bold;
}
.source{
a{
font-weight: normal;
}
}
}
.time{
#client-transition-time > .short;
Expand Down
2 changes: 1 addition & 1 deletion public/templates/tweet.ejs.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</ul>
<div class="header">
<h3 class="h user-name"><%= tweet.direct_message ? '<strong>Direct Message from</strong> ' : ''%><a href="http://twitter.com/<%= h(tweet.data.user.screen_name) %>" class="user-href"><%= h(tweet.yourself ? 'you' : '@'+tweet.data.user.screen_name+' ('+tweet.data.user.name+')') %></a><%= tweet.direct_message ? ' to <a href="http://twitter.com/'+h(tweet.data.recipient.screen_name)+'">'+h(tweet.data.recipient.screen_name)+'</a>' : ''%><% if(tweet.retweet) { %> <%= text('tweet', 'via') %> <a href="http://twitter.com/<%= h(tweet.retweet.user.screen_name) %>" class="retweet-user-href">@<%= h(tweet.retweet.user.screen_name) %> (<%= h(tweet.retweet.user.name) %>)</a><% }%>
<% if(tweet.data.source) { %> <%= text('tweet', 'using') + ' ' + tweet.data.source %><% } %>
<% if(tweet.data.source) { %> <%= h(text('tweet', 'using')) + ' <span class="source">' + tweet.data.source + '</span>' %><% } %>
<% if(tweet.data.geo && tweet.data.geo.coordinates) { %> <a class="status-geo" href="http://maps.google.com/maps?q=<%= h(tweet.data.geo.coordinates.join(',')) %>"><%= text('tweet', 'from here ⌘') %></a><% } %>
</h3>
<div class="time created_at"><a href="<%= h(tweet.direct_message ? 'http://twitter.com/direct_messages/create/'+tweet.data.sender.screen_name : 'http://twitter.com/'+tweet.data.user.screen_name+'/status/'+tweet.data.id) %>"></a></div>
Expand Down

0 comments on commit a53fc37

Please sign in to comment.