diff options
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)"> |
