debian-mirror-gitlab/app/views/users/_overview.html.haml

33 lines
1.3 KiB
Text
Raw Normal View History

2018-12-05 23:21:45 +05:30
.row
.col-md-12.col-lg-6
2019-01-03 12:48:30 +05:30
.calendar-block
.content-block.hide-bottom-border
%h4
= s_('UserProfile|Activity')
.user-calendar.d-none.d-sm-block.text-left{ data: { calendar_path: user_calendar_path(@user, :json), calendar_activities_path: user_calendar_activities_path, utc_offset: Time.zone.utc_offset } }
%h4.center.light
%i.fa.fa-spinner.fa-spin
.user-calendar-activities.d-none.d-sm-block
2018-12-05 23:21:45 +05:30
- if can?(current_user, :read_cross_project)
.activities-block
2019-01-03 12:48:30 +05:30
.border-bottom.prepend-top-16
%h5
= s_('UserProfile|Recent contributions')
2018-12-05 23:21:45 +05:30
.overview-content-list{ data: { href: user_path } }
.center.light.loading
2019-01-03 12:48:30 +05:30
%i.fa.fa-spinner.fa-spin
.prepend-top-10
= link_to s_('UserProfile|View all'), user_activity_path, class: "hide js-view-all"
2018-12-05 23:21:45 +05:30
.col-md-12.col-lg-6
.projects-block
2019-01-03 12:48:30 +05:30
.border-bottom.prepend-top-16
%h4
= s_('UserProfile|Personal projects')
2018-12-05 23:21:45 +05:30
.overview-content-list{ data: { href: user_projects_path } }
.center.light.loading
2019-01-03 12:48:30 +05:30
%i.fa.fa-spinner.fa-spin
.prepend-top-10
= link_to s_('UserProfile|View all'), user_projects_path, class: "hide js-view-all"