VRFS-1558 convert SESSION and RECORDING text into clickable links
This commit is contained in:
parent
23137ec423
commit
ce80b1a09b
|
|
@ -4,7 +4,8 @@
|
|||
= session_avatar(feed_item)
|
||||
/ type and artist
|
||||
.left.ml20.w15
|
||||
.title{:'session-id' => feed_item.id } SESSION
|
||||
.title{:'session-id' => feed_item.id }
|
||||
%a{:href => "/sessions/#{feed_item.id}", :target => "_blank"} SESSION
|
||||
.artist
|
||||
= session_artist_name(feed_item)
|
||||
= timeago(feed_item.created_at, class: 'small created_at')
|
||||
|
|
|
|||
|
|
@ -5,7 +5,8 @@
|
|||
%img{ src: '{{data.feed_item.helpers.avatar}}' }
|
||||
/ type and artist
|
||||
.left.ml20.w15
|
||||
.title{:'session-id' => '{{data.feed_item.id}}' } SESSION
|
||||
.title{:'session-id' => '{{data.feed_item.id}}' }
|
||||
%a{:href => "/sessions/{{data.feed_item.id}}", :rel => "external"} SESSION
|
||||
.artist
|
||||
%a.artist{href: "#", :hoveraction => '{{data.feed_item.helpers.artist_hoveraction}}', :'{{data.feed_item.helpers.artist_datakey}}' => '{{data.feed_item.helpers.artist_id}}'}
|
||||
= '{{data.feed_item.helpers.artist_name}}'
|
||||
|
|
|
|||
|
|
@ -7,7 +7,8 @@
|
|||
= recording_avatar(feed_item)
|
||||
/ type and artist
|
||||
.left.ml20.w15.feed-type-title
|
||||
.title{:'recording-id' => feed_item.candidate_claimed_recording.id } RECORDING
|
||||
.title{:'recording-id' => feed_item.candidate_claimed_recording.id }
|
||||
%a{:href => "/recordings/#{feed_item.candidate_claimed_recording.id}", :target => "_blank"} RECORDING
|
||||
.artist
|
||||
= recording_artist_name(feed_item)
|
||||
= timeago(feed_item.created_at, class: 'small created_at')
|
||||
|
|
|
|||
|
|
@ -5,7 +5,8 @@
|
|||
%img{ src: '{{data.feed_item.helpers.avatar}}' }
|
||||
/ type and artist
|
||||
.left.ml20.w15
|
||||
.title{:'recording-id' => '{{data.candidate_claimed_recording.id}}' } RECORDING
|
||||
.title{:'recording-id' => '{{data.candidate_claimed_recording.id}}' }
|
||||
%a{:href => "/recordings/{{data.candidate_claimed_recording.id}}", :rel => "external"} RECORDING
|
||||
.artist
|
||||
%a.artist{href: "#", :hoveraction => '{{data.feed_item.helpers.artist_hoveraction}}', :'{{data.feed_item.helpers.artist_datakey}}' => '{{data.feed_item.helpers.artist_id}}'}
|
||||
= '{{data.feed_item.helpers.artist_name}}'
|
||||
|
|
|
|||
Loading…
Reference in New Issue