2019-03-02 22:35:43 +05:30
- illustration_path = 'illustrations/profile-page/activity.svg'
- current_user_empty_message_header = s_('UserProfile|Join or create a group to start contributing by commenting on issues or submitting merge requests!')
- primary_button_label = _('New group')
- primary_button_link = new_group_path
- secondary_button_label = _('Explore groups')
- secondary_button_link = explore_groups_path
- visitor_empty_message = _('No activities found')
2019-02-15 15:39:39 +05:30
- if @events.present?
= render partial: 'events/event', collection: @events
- else
2019-03-02 22:35:43 +05:30
= render partial: 'shared/empty_states/profile_tabs', locals: { illustration_path: illustration_path,
current_user_empty_message_header: current_user_empty_message_header,
primary_button_label: primary_button_label,
primary_button_link: primary_button_link,
secondary_button_label: secondary_button_label,
secondary_button_link: secondary_button_link,
visitor_empty_message: visitor_empty_message }