Skip to content

Commit

Permalink
Add links to ChangeTip users.
Browse files Browse the repository at this point in the history
  • Loading branch information
martindale committed Jun 26, 2015
1 parent 8fb25cb commit 2cfb842
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
Binary file added public/img/changetip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions views/people.jade
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,8 @@ block content
|
a(href="https://play.spotify.com/user/#{person.profiles.spotify.id}")
img(src="/img/spotify.png", title="#{person.profiles.spotify.id}")
if (person.profiles && person.profiles.changetip && person.profiles.changetip.id)
|
a(href="https://www.changetip.com/tipme/#{person.profiles.changetip.username}")
img(style="max-height: 32px;", src="/img/changetip.png", title="#{person.profiles.changetip.username}")

5 changes: 5 additions & 0 deletions views/person.jade
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ block content
a.btn(href="/auth/lastfm") add last.fm »
if (!person.profiles || !person.profiles.spotify || !person.profiles.spotify.id)
a.btn(href="/auth/spotify") add spotify »
if (!person.profiles || !person.profiles.changetip || !person.profiles.changetip.id)
a.btn(href="/auth/changetip") add changetip »

if (artist)
img.avatar-large.pull-left(src="#{artist.image.url}")
Expand All @@ -31,6 +33,9 @@ block content
if (person.profiles.spotify && person.profiles.spotify.id)
a(href="https://play.spotify.com/user/#{person.profiles.spotify.id}")
img(src="/img/spotify.png", title="#{person.profiles.spotify.username}")
if (person.profiles.changetip && person.profiles.changetip.id)
a(href="https://www.changetip.com/tipme/#{person.profiles.changetip.username}")
img(style="max-height: 32px;", src="/img/changetip.png", title="#{person.profiles.changetip.username}")

if (artist)
span.badge artist
Expand Down

0 comments on commit 2cfb842

Please sign in to comment.