Permalink
Browse files

tweaks

  • Loading branch information...
1 parent 8afc3af commit da5b89e9fe9dcf1bbc7bc83b64874e571dfe8588 Benjamin Golub committed Aug 26, 2009
Showing with 6 additions and 5 deletions.
  1. +1 −0 static/css/base.css
  2. +1 −1 static/javascript/retweet.js
  3. +4 −4 templates/entries.html
View
1 static/css/base.css
@@ -276,6 +276,7 @@ a.hidden {
.share {
float: right;
+ z-index: 10;
}
.share img {
View
2 static/javascript/retweet.js
@@ -26,7 +26,7 @@ window.RetweetJS = {
// Tweet Prefix text
// "RT @jeresig " would result in: "RT @jeresig Link Title http://bit.ly/asdf"
- prefix: "",
+ prefix: "RT @bgolub: ",
// Style information
styling: "a.retweet { font: 12px Helvetica,Arial; color: #000; text-decoration: none; border: 0px; }" +
View
8 templates/entries.html
@@ -11,15 +11,15 @@
<a class="hidden delete" href="#">delete</a>
{% endif %}
</h1>
+ <div class="share">
+ <a href="#" onclick="var e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('src','http://friendfeed.com/share/bookmarklet/javascript?url={% filter urlencode %}http://{{ request.host }}/e/{{ entry.slug }}{% endfilter %}&amp;title={{ entry.title|urlencode }}');document.body.appendChild(e); return false;"><img src="http://friendfeed.com/static/images/icons/internal.png" title="Share on FriendFeed" alt="Share on FriendFeed"/></a>
+ <a class="retweet" href="/e/{{ entry.slug }}" title="{{ entry.title }}"></a>
+ </div>
<div class="date">
<span title="{{ entry.published }}">{{ entry.published|bettertimesince }}</span>
{% block permalink %}
<a class="hidden" href="/e/{{ entry.slug }}">permalink</a>
{% endblock %}
- <span class="share">
- <a href="#" onclick="var e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('src','http://friendfeed.com/share/bookmarklet/javascript?url={% filter urlencode %}http://{{ request.host }}/e/{{ entry.slug }}{% endfilter %}&amp;title={{ entry.title|urlencode }}');document.body.appendChild(e); return false;"><img src="http://friendfeed.com/static/images/icons/internal.png" title="Share on FriendFeed" alt="Share on FriendFeed"/></a>
- <a class="retweet" href="/e/{{ entry.slug }}" title="{{ entry.title }}"></a>
- </span>
</div>
<div class="body">
{{ entry.body|safe }}

0 comments on commit da5b89e

Please sign in to comment.