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
|
2017-03-10 00:36:22 +05:30
|
|
|
%h3.text-center
|
|
|
|
|
Social Media and Social Code
|
|
|
|
|
%ul.list-inline.list-unstyled.text-center
|
|
|
|
|
- if @user.website_url.present?
|
|
|
|
|
%li
|
|
|
|
|
= link_to(@user.website_url) do
|
|
|
|
|
.user_profile-icon
|
|
|
|
|
%icon.fa.fa-external-link.fa-3x
|
|
|
|
|
%span.concat-text Blog
|
|
|
|
|
- if @user.twitter.present?
|
|
|
|
|
%li
|
|
|
|
|
= link_to(@user.twitter) do
|
|
|
|
|
.user_profile-icon
|
|
|
|
|
%icon.fa.fa-twitter.fa-3x
|
|
|
|
|
%span.concat-text Twitter
|
|
|
|
|
- if @user.linkedin.present?
|
|
|
|
|
%li
|
|
|
|
|
= link_to(@user.linkedin) do
|
|
|
|
|
.user_profile-icon
|
|
|
|
|
%icon.fa.fa-linkedin.fa-3x
|
|
|
|
|
%span.concat-text Linkedin
|
|
|
|
|
- if @user.googleplus.present?
|
|
|
|
|
%li
|
|
|
|
|
= link_to(@user.googleplus) do
|
|
|
|
|
.user_profile-icon
|
|
|
|
|
%icon.fa.fa-googleplus.fa-3x
|
|
|
|
|
%span.concat-text Google+
|
|
|
|
|
- if @user.gnu.present?
|
|
|
|
|
%li
|
|
|
|
|
= link_to(@user.gnu) do
|
|
|
|
|
.user_profile-icon
|
|
|
|
|
%icon.fa.fa-linux.fa-3x
|
|
|
|
|
%span.concat-text GNU
|
|
|
|
|
- if @user.diaspora.present?
|
|
|
|
|
%li
|
|
|
|
|
= link_to(@user.diaspora) do
|
|
|
|
|
.user_profile-icon
|
|
|
|
|
%icon.fa.fa-asterisk.fa-3x
|
|
|
|
|
%span.concat-text Diaspora
|
|
|
|
|
- if @user.savannah.present?
|
|
|
|
|
%li
|
|
|
|
|
= link_to(@user.savannah) do
|
|
|
|
|
.user_profile-icon
|
|
|
|
|
%icon.fa.fa-linux.fa-3x
|
|
|
|
|
%span.concat-text Savannah
|
|
|
|
|
- if @user.github.present?
|
|
|
|
|
%li
|
|
|
|
|
= link_to(@user.github) do
|
|
|
|
|
.user_profile-icon
|
|
|
|
|
%icon.fa.fa-github.fa-3x
|
|
|
|
|
%span.concat-text Github
|
|
|
|
|
- if @user.gitlab.present?
|
|
|
|
|
%li
|
|
|
|
|
= link_to(@user.gitlab) do
|
|
|
|
|
.user_profile-icon
|
|
|
|
|
%icon.fa.fa-gitlab.fa-3x
|
|
|
|
|
%span.concat-text Gitlab
|
|
|
|
|
%h3.text-center Bio
|
2014-11-14 11:58:36 +01:00
|
|
|
%p
|
2016-08-09 00:20:18 +02:00
|
|
|
= markdown(@user.biography)
|
2014-11-14 11:58:36 +01:00
|
|
|
.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
|
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
|