mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
24 lines
787 B
Text
24 lines
787 B
Text
.container
|
|
.row
|
|
.col-md-12
|
|
.page-header
|
|
%h1
|
|
= image_tag(@user.gravatar_url(size: '48'), title: "Yo #{@user.name}!", alt: '')
|
|
= @user.name
|
|
%small
|
|
= @user.nickname
|
|
%p
|
|
= markdown(@user.biography)
|
|
.row
|
|
.col-md-12
|
|
- if @user.presented_events.confirmed.any?
|
|
%h3
|
|
= "#{@user.name} presents #{pluralize(@user.presented_events.confirmed.count, 'Event')}:"
|
|
%ul.list-unstyled
|
|
- @user.presented_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
|