2014-02-01 00:16:28 +00:00
|
|
|
- content_for(:title, page.title)
|
2013-11-18 17:52:34 +00:00
|
|
|
|
2013-11-18 11:45:16 +00:00
|
|
|
.profile-page
|
|
|
|
section.cinema
|
|
|
|
.container
|
2014-02-01 00:16:28 +00:00
|
|
|
span.user-avatar = page.user_avatar_image_tag
|
2013-11-18 11:45:16 +00:00
|
|
|
h1
|
2014-02-01 00:16:28 +00:00
|
|
|
= page.user_full_name
|
|
|
|
small = "Joined on #{page.user_joined_at}"
|
2013-11-18 11:45:16 +00:00
|
|
|
|
2014-02-01 00:16:28 +00:00
|
|
|
- if page.show_settings?
|
2014-10-17 12:11:43 +00:00
|
|
|
p.actions = link_to 'Edit information', edit_user_path
|
2013-11-18 11:45:16 +00:00
|
|
|
|
|
|
|
.container
|
2014-02-01 00:16:28 +00:00
|
|
|
h2 = page.asciicast_count_text(self)
|
2013-11-18 11:45:16 +00:00
|
|
|
.row.asciicast-list
|
|
|
|
.col-md-12
|
2014-02-01 00:16:28 +00:00
|
|
|
- if page.asciicasts.present?
|
|
|
|
= render 'asciicasts/previews', asciicasts: page.asciicasts, per_row: 3
|
|
|
|
= paginate page.asciicasts
|
|
|
|
- else
|
|
|
|
- if page.current_users_profile?
|
2014-10-17 12:11:43 +00:00
|
|
|
= render 'recording_instructions'
|
2014-02-01 00:16:28 +00:00
|
|
|
p
|
2014-10-17 12:11:43 +00:00
|
|
|
br
|
2014-02-01 00:16:28 +00:00
|
|
|
' If you have already recorded an asciicast but you don't see it
|
|
|
|
here then associate it with your account by running
|
|
|
|
code asciinema auth
|
|
|
|
' in your terminal.
|