2014-11-14 11:58:36 +01:00
|
|
|
.container
|
|
|
|
|
.row
|
|
|
|
|
.col-md-12
|
|
|
|
|
.page-header
|
|
|
|
|
%h1
|
2017-03-11 13:25:39 +05:30
|
|
|
= image_tag(@user.gravatar_url(size: '48'), title: "Yo #{@user.name}!", alt: '')
|
2014-11-14 11:58:36 +01:00
|
|
|
= @user.name
|
|
|
|
|
%small
|
|
|
|
|
= @user.nickname
|
|
|
|
|
%p
|
2016-08-09 00:20:18 +02:00
|
|
|
= markdown(@user.biography)
|
2014-11-14 11:58:36 +01:00
|
|
|
.row
|
|
|
|
|
.col-md-12
|
2017-02-02 16:34:59 +02:00
|
|
|
- if @user.presented_events.confirmed.any?
|
2014-11-14 11:58:36 +01:00
|
|
|
%h3
|
2017-02-02 16:34:59 +02:00
|
|
|
= "#{@user.name} presents #{pluralize(@user.presented_events.confirmed.count, 'Event')}:"
|
2014-11-14 11:58:36 +01:00
|
|
|
%ul.list-unstyled
|
2017-02-02 16:34:59 +02:00
|
|
|
- @user.presented_events.confirmed.each do |event|
|
2014-11-14 11:58:36 +01:00
|
|
|
%li
|
|
|
|
|
%h4
|
2016-02-22 22:20:19 +01:00
|
|
|
= link_to event.title, conference_program_proposal_path(event.program.conference.short_title, event.id)
|
2014-11-14 11:58:36 +01:00
|
|
|
%strong
|
|
|
|
|
at
|
2016-02-22 22:20:19 +01:00
|
|
|
= event.program.conference.title
|