diff options
| author | timb <timb@mb.local> | 2010-04-10 14:21:24 -0700 |
|---|---|---|
| committer | timb <timb@mb.local> | 2010-04-10 14:21:24 -0700 |
| commit | 999b92dbf918cb31c0713106ad0337ff3ea16887 (patch) | |
| tree | 3a2de3cacb76801725367a518d3c76ff47bce3d5 /template | |
| parent | 1e3b2d85671460112838b946c10d7a82dfa30d7b (diff) | |
move thumb
Diffstat (limited to 'template')
| -rw-r--r-- | template/log_dump.st | 5 | ||||
| -rw-r--r-- | template/profile_dump.st | 15 | ||||
| -rw-r--r-- | template/share_buttons.st | 7 |
3 files changed, 14 insertions, 13 deletions
diff --git a/template/log_dump.st b/template/log_dump.st index 155981d..0a6b596 100644 --- a/template/log_dump.st +++ b/template/log_dump.st @@ -12,6 +12,11 @@ $else$ <img height="50" width="50" src="/static/noinfo.png"> $endif$ </div></a> +$if(dump.favorited)$ + <img src="/static/img/thumbs/color.left.gif" class="thumb favorite" onclick="Tag.favorite(this)"> +$else$ + <img src="/static/img/thumbs/bw.left.gif" class="thumb" onclick="Tag.favorite(this)"> +$endif$ <div class="content">$dump.content$</div> <!-- <hr /> --> $share_buttons()$ diff --git a/template/profile_dump.st b/template/profile_dump.st index ff5ff8c..31a0ca3 100644 --- a/template/profile_dump.st +++ b/template/profile_dump.st @@ -4,14 +4,17 @@ </div> <a href="/u/$dump.nick$"> <div id="logavatar"> - - $if(dump.avatar)$ +$if(dump.avatar)$ <img height="50" width="50" src="$dump.avatar$" /> - $else$ +$else$ <img height="50" width="50" src="/static/img/noinfo.png"> - $endif$ - +$endif$ </div></a> +$if(dump.favorited)$ + <img src="/static/img/thumbs/color.left.gif" class="thumb favorite" onclick="Tag.favorite(this)"> +$else$ + <img src="/static/img/thumbs/bw.left.gif" class="thumb" onclick="Tag.favorite(this)"> +$endif$ <div class="content">$dump.content$</div> - $share_buttons()$ +$share_buttons()$ </div> diff --git a/template/share_buttons.st b/template/share_buttons.st index 3f1f472..02736dc 100644 --- a/template/share_buttons.st +++ b/template/share_buttons.st @@ -1,11 +1,4 @@ <div class="buttons"> -$if(dump)$ - $if(dump.favorited)$ - <img src="/static/img/thumbs/color.left.gif" class="thumb favorite" onclick="Tag.favorite(this)"> - $else$ - <img src="/static/img/thumbs/bw.left.gif" class="thumb" onclick="Tag.favorite(this)"> - $endif$ -$endif$ <span class="other-sites"> <img src="/static/img/share/tumblricon.png" class="share" onclick="Share.tumblr(this)"> <img src="/static/img/share/fbbutton.png" class="share" onclick="Share.facebook(this)"> |
