asciinema.org/app/views/users/show.html.slim

30 lines
922 B
Plaintext
Raw Normal View History

- 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
span.user-avatar = page.user_avatar_image_tag
2013-11-18 11:45:16 +00:00
h1
= page.user_full_name
small = "Joined on #{page.user_joined_at}"
2013-11-18 11:45:16 +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
h2 = page.asciicast_count_text(self)
2013-11-18 11:45:16 +00:00
.row.asciicast-list
.col-md-12
- 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'
p
2014-10-17 12:11:43 +00:00
br
' 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.