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

31 lines
1.2 KiB
Text
Raw Normal View History

2019-02-15 15:39:39 +05:30
.row
.col-12
2020-07-28 23:09:34 +05:30
.calendar-block.gl-mt-3.gl-mb-3
2019-02-15 15:39:39 +05:30
.user-calendar.d-none.d-sm-block{ data: { calendar_path: user_calendar_path(@user, :json), calendar_activities_path: user_calendar_activities_path, utc_offset: Time.zone.utc_offset } }
%h4.center.light
2020-03-09 13:42:32 +05:30
.spinner.spinner-md
2019-02-15 15:39:39 +05:30
.user-calendar-activities.d-none.d-sm-block
2018-12-05 23:21:45 +05:30
.row
.col-md-12.col-lg-6
- if can?(current_user, :read_cross_project)
.activities-block
2020-07-28 23:09:34 +05:30
.gl-mt-5
2019-02-15 15:39:39 +05:30
.d-flex.align-items-center.border-bottom
%h4.flex-grow
2019-03-02 22:35:43 +05:30
= s_('UserProfile|Activity')
= link_to s_('UserProfile|View all'), user_activity_path, class: "hide js-view-all"
.overview-content-list{ data: { href: user_path } }
2019-02-15 15:39:39 +05:30
.center.light.loading
2020-03-09 13:42:32 +05:30
.spinner.spinner-md
2019-03-02 22:35:43 +05:30
.col-md-12.col-lg-6
.projects-block
2020-07-28 23:09:34 +05:30
.gl-mt-5
2019-03-02 22:35:43 +05:30
.d-flex.align-items-center.border-bottom
%h4.flex-grow
= s_('UserProfile|Personal projects')
= link_to s_('UserProfile|View all'), user_projects_path, class: "hide js-view-all"
.overview-content-list{ data: { href: user_projects_path } }
.center.light.loading
2020-03-09 13:42:32 +05:30
.spinner.spinner-md