2014-11-14 11:58:36 +01:00
|
|
|
.container
|
|
|
|
|
.row
|
|
|
|
|
.col-md-12
|
|
|
|
|
.page-header
|
|
|
|
|
%h1
|
2015-03-09 15:31:06 +01:00
|
|
|
= 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
|
2016-08-30 13:19:29 -04:00
|
|
|
%h3 Social Media and Social Code
|
|
|
|
|
%table.table
|
|
|
|
|
%tr
|
|
|
|
|
%td
|
|
|
|
|
%b Website
|
|
|
|
|
%td
|
|
|
|
|
= @user.website_url.present? ? @user.website_url : '-'
|
|
|
|
|
%tr
|
|
|
|
|
%td
|
|
|
|
|
%b Linkedin
|
|
|
|
|
%td
|
|
|
|
|
= @user.linkedin.present? ? @user.linkedin : '-'
|
|
|
|
|
%tr
|
|
|
|
|
%td
|
|
|
|
|
%b Twitter
|
|
|
|
|
%td
|
|
|
|
|
= @user.twitter.present? ? @user.twitter : '-'
|
|
|
|
|
%tr
|
|
|
|
|
%td
|
|
|
|
|
%b GooglePlus
|
|
|
|
|
%td
|
|
|
|
|
= @user.googleplus.present? ? @user.googleplus : '-'
|
|
|
|
|
%tr
|
|
|
|
|
%td
|
|
|
|
|
%b GNU Social
|
|
|
|
|
%td
|
|
|
|
|
= @user.gnu.present? ? @user.gnu : '-'
|
|
|
|
|
%tr
|
|
|
|
|
%td
|
|
|
|
|
%b Diaspora
|
|
|
|
|
%td
|
|
|
|
|
= @user.diaspora.present? ? @user.diaspora : '-'
|
|
|
|
|
%tr
|
|
|
|
|
%td
|
|
|
|
|
%b Savannah
|
|
|
|
|
%td
|
|
|
|
|
= @user.savannah.present? ? @user.savannah : '-'
|
|
|
|
|
%tr
|
|
|
|
|
%td
|
|
|
|
|
%b Github
|
|
|
|
|
%td
|
|
|
|
|
= @user.github.present? ? @user.github : '-'
|
|
|
|
|
%tr
|
|
|
|
|
%td
|
|
|
|
|
%b Gitlab
|
|
|
|
|
%td
|
|
|
|
|
= @user.gitlab.present? ? @user.gitlab : '-'
|
|
|
|
|
%tr
|
|
|
|
|
%td
|
|
|
|
|
%b Gna!
|
|
|
|
|
%td
|
|
|
|
|
= @user.gna.present? ? @user.gna : '-'
|
|
|
|
|
|
|
|
|
|
.row
|
|
|
|
|
.col-md-12
|
|
|
|
|
- if @user.events.confirmed.any?
|
|
|
|
|
%h3
|
|
|
|
|
= "#{@user.name} presents #{pluralize(@user.events.confirmed.count, 'Event')}:"
|
|
|
|
|
%ul.list-unstyled
|
|
|
|
|
- @user.events.confirmed.each do |event|
|
|
|
|
|
%li
|
|
|
|
|
%h4
|
|
|
|
|
= link_to event.title, conference_program_proposal_path(event.program.conference.short_title, event.id)
|
|
|
|
|
%strong
|
|
|
|
|
at
|
|
|
|
|
= event.program.conference.title
|