Welcome to mirror list, hosted at ThFree Co, Russian Federation.

show.html.haml « users « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: abd6b229782e84be3cd3e03a6613324043795f92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
.row
  = link_to '#aside', class: 'show-aside' do
    %i.fa.fa-angle-left
  %section.col-md-8
    %h3.page-title
      = image_tag avatar_icon(@user.email, 90), class: "avatar avatar-tile s90", alt: ''
      = @user.name
      - if @user == current_user
        .pull-right
          = link_to profile_path, class: 'btn' do
            %i.fa.fa-pencil-square-o
            Edit Profile settings
      %br
      %span.user-show-username #{@user.username}
      %br
      %small member since #{@user.created_at.stamp("Nov 12, 2031")}
    .clearfix

    - if @groups.any?
      %h4 Groups
      = render 'groups', groups: @groups
      %hr

    .hidden-xs
      .user-calendar
        %h4.center.light
          %i.fa.fa-spinner.fa-spin
      %hr
    %h4
      User Activity

      - if current_user
        %span.rss-icon.pull-right
          = link_to user_path(@user, :atom, { private_token: current_user.private_token }) do
            %strong
              %i.fa.fa-rss

    = render @events
  %aside.col-md-4
    = render 'profile', user: @user
    = render 'projects'

:coffeescript
  $ ->
    $(".user-calendar").load("#{user_calendar_path}")