2015-04-30 13:06:18 -04:00
|
|
|
- page_title "Issues"
|
2017-07-03 07:51:35 -04:00
|
|
|
- group_issues_exists = group_issues(@group).exists?
|
2017-02-22 17:42:11 -05:00
|
|
|
= render "head_issues"
|
2015-04-21 10:31:40 -04:00
|
|
|
= content_for :meta_tags do
|
2017-02-28 15:50:57 -05:00
|
|
|
= auto_discovery_link_tag(:atom, params.merge(rss_url_options), title: "#{@group.name} issues")
|
2015-04-21 10:31:40 -04:00
|
|
|
|
2017-08-02 05:27:24 -04:00
|
|
|
- content_for :page_specific_javascripts do
|
|
|
|
= webpack_bundle_tag 'common_vue'
|
|
|
|
= webpack_bundle_tag 'filtered_search'
|
|
|
|
|
2017-07-03 07:51:35 -04:00
|
|
|
- if show_new_nav? && group_issues_exists
|
|
|
|
- content_for :breadcrumbs_extra do
|
|
|
|
= link_to params.merge(rss_url_options), class: 'btn btn-default append-right-10' do
|
|
|
|
= icon('rss')
|
2017-08-21 17:29:09 -04:00
|
|
|
= render 'shared/new_project_item_select', path: 'issues/new', label: "New issue", type: :issues
|
2017-07-03 07:51:35 -04:00
|
|
|
|
|
|
|
- if group_issues_exists
|
2016-11-05 13:28:29 -04:00
|
|
|
.top-area
|
|
|
|
= render 'shared/issuable/nav', type: :issues
|
2017-07-03 07:51:35 -04:00
|
|
|
.nav-controls{ class: ("visible-xs" if show_new_nav?) }
|
2017-02-28 15:50:57 -05:00
|
|
|
= link_to params.merge(rss_url_options), class: 'btn' do
|
|
|
|
= icon('rss')
|
|
|
|
%span.icon-label
|
|
|
|
Subscribe
|
2017-08-21 17:29:09 -04:00
|
|
|
= render 'shared/new_project_item_select', path: 'issues/new', label: "New issue", type: :issues
|
2015-12-02 08:02:12 -05:00
|
|
|
|
2017-08-02 05:27:24 -04:00
|
|
|
= render 'shared/issuable/search_bar', type: :issues
|
2013-08-15 06:13:22 -04:00
|
|
|
|
2016-11-05 13:28:29 -04:00
|
|
|
.row-content-block.second-block
|
|
|
|
Only issues from the
|
2017-01-13 11:07:21 -05:00
|
|
|
%strong= @group.name
|
2016-11-05 13:28:29 -04:00
|
|
|
group are listed here.
|
|
|
|
- if current_user
|
|
|
|
To see all issues you should visit #{link_to 'dashboard', issues_dashboard_path} page.
|
2015-04-21 10:46:46 -04:00
|
|
|
|
2017-01-26 08:22:16 -05:00
|
|
|
= render 'shared/issues'
|
2016-11-05 13:28:29 -04:00
|
|
|
- else
|
|
|
|
= render 'shared/empty_states/issues', project_select_button: true
|