Add user path to Attendee and Speaker avatar in registration show page
Avatars of attendee and speaker are not linked to respective attendee and speaker. Add user path to each avatar to give more information of attendee and speaker
This commit is contained in:
parent
e28d681eb8
commit
da0556aeee
1 changed files with 2 additions and 2 deletions
|
|
@ -142,7 +142,7 @@
|
||||||
Registered
|
Registered
|
||||||
= word_pluralize(@conference.participants.count, 'Attendee')
|
= word_pluralize(@conference.participants.count, 'Attendee')
|
||||||
- @conference.participants.each do |participant|
|
- @conference.participants.each do |participant|
|
||||||
= image_tag(participant.gravatar_url(size: '25'), title: "#{participant.name}!", class: 'img-circle')
|
= link_to image_tag(participant.gravatar_url(size: '25'), title: "#{participant.name}!", class: 'img-circle'), user_path(participant)
|
||||||
.col-md-4.col-md-offset-2
|
.col-md-4.col-md-offset-2
|
||||||
- if @conference.program.speakers.confirmed.any?
|
- if @conference.program.speakers.confirmed.any?
|
||||||
%h4
|
%h4
|
||||||
|
|
@ -153,4 +153,4 @@
|
||||||
Confirmed
|
Confirmed
|
||||||
= word_pluralize(@conference.program.speakers.confirmed.count, 'Speaker')
|
= word_pluralize(@conference.program.speakers.confirmed.count, 'Speaker')
|
||||||
- @conference.program.speakers.confirmed.each do |speaker|
|
- @conference.program.speakers.confirmed.each do |speaker|
|
||||||
= image_tag(speaker.gravatar_url(size: '25'), title: "#{speaker.name}!", class: 'img-circle')
|
= link_to image_tag(speaker.gravatar_url(size: '25'), title: "#{speaker.name}!", class: 'img-circle'), user_path(speaker)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue