Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
72c0431d
Commit
72c0431d
authored
Feb 19, 2018
by
Felipe Artur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bring one group board to CE
parent
815d48ff
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
10 additions
and
11 deletions
+10
-11
app/assets/javascripts/boards/components/board_new_issue.vue
app/assets/javascripts/boards/components/board_new_issue.vue
+1
-0
app/helpers/boards_helper.rb
app/helpers/boards_helper.rb
+2
-2
app/helpers/form_helper.rb
app/helpers/form_helper.rb
+1
-1
app/policies/group_policy.rb
app/policies/group_policy.rb
+0
-3
app/views/layouts/nav/sidebar/_group.html.haml
app/views/layouts/nav/sidebar/_group.html.haml
+3
-2
doc/api/README.md
doc/api/README.md
+1
-1
ee/app/helpers/ee/boards_helper.rb
ee/app/helpers/ee/boards_helper.rb
+1
-1
spec/views/layouts/nav/sidebar/_project.html.haml_spec.rb
spec/views/layouts/nav/sidebar/_project.html.haml_spec.rb
+1
-1
No files found.
app/assets/javascripts/boards/components/board_new_issue.vue
View file @
72c0431d
...
...
@@ -140,3 +140,4 @@ export default {
</div>
</div>
</
template
>
app/helpers/boards_helper.rb
View file @
72c0431d
...
...
@@ -63,7 +63,7 @@ module BoardsHelper
labels:
labels_filter_path
(
true
),
labels_endpoint:
@labels_endpoint
,
namespace_path:
@namespace_path
,
project_path:
@project
&
.
try
(
:path
)
,
project_path:
@project
&
.
path
,
group_path:
@group
&
.
path
}
end
...
...
@@ -76,7 +76,7 @@ module BoardsHelper
field_name:
'issue[assignee_ids][]'
,
first_user:
current_user
&
.
username
,
current_user:
'true'
,
project_id:
@project
&
.
try
(
:id
)
,
project_id:
@project
&
.
id
,
group_id:
@group
&
.
id
,
null_user:
'true'
,
multi_select:
'true'
,
...
...
app/helpers/form_helper.rb
View file @
72c0431d
...
...
@@ -30,7 +30,7 @@ module FormHelper
null_user:
true
,
current_user:
true
,
project_id:
@project
&
.
id
,
field_name:
"issue[assignee_ids][]"
,
field_name:
'issue[assignee_ids][]'
,
default_label:
'Unassigned'
,
'max-select'
:
1
,
'dropdown-header'
:
'Assignee'
,
...
...
app/policies/group_policy.rb
View file @
72c0431d
...
...
@@ -58,9 +58,6 @@ class GroupPolicy < BasePolicy
enable
:admin_issue
end
rule
{
developer
}.
enable
:admin_milestones
rule
{
reporter
}.
enable
:admin_label
rule
{
master
}.
policy
do
enable
:create_projects
enable
:admin_pipeline
...
...
app/views/layouts/nav/sidebar/_group.html.haml
View file @
72c0431d
...
...
@@ -59,6 +59,7 @@
%strong
.fly-out-top-item-name
#{
_
(
'Issues'
)
}
%span
.badge.count.issue_counter.fly-out-badge
=
number_with_delimiter
(
issues_count
)
%li
.divider.fly-out-top-item
=
nav_link
(
path:
'groups#issues'
,
html_options:
{
class:
'home'
})
do
=
link_to
issues_group_path
(
@group
),
title:
'List'
do
...
...
@@ -67,9 +68,9 @@
-
if
group_sidebar_link?
(
:boards
)
=
nav_link
(
path:
[
'boards#index'
,
'boards#show'
])
do
=
link_to
group_boards_path
(
@group
),
title:
'Boards'
do
=
link_to
group_boards_path
(
@group
),
title:
boards_link_text
do
%span
Boards
=
boards_link_text
-
if
group_sidebar_link?
(
:labels
)
=
nav_link
(
path:
'labels#index'
)
do
...
...
doc/api/README.md
View file @
72c0431d
...
...
@@ -30,7 +30,7 @@ following locations:
-
[
Group Members
](
members.md
)
-
[
Issues
](
issues.md
)
-
[
Issue Boards
](
boards.md
)
-
[Group Issue Boards]
(group_boards.md)
-
[
Group Issue Boards
](
group_boards.md
)
-
[
Jobs
](
jobs.md
)
-
[
Keys
](
keys.md
)
-
[
Labels
](
labels.md
)
...
...
ee/app/helpers/ee/boards_helper.rb
View file @
72c0431d
...
...
@@ -38,7 +38,7 @@ module EE
end
def
boards_link_text
if
@projec
t
.
multiple_issue_boards_available?
if
paren
t
.
multiple_issue_boards_available?
s_
(
"IssueBoards|Boards"
)
else
s_
(
"IssueBoards|Board"
)
...
...
spec/views/layouts/nav/sidebar/_project.html.haml_spec.rb
View file @
72c0431d
...
...
@@ -12,7 +12,7 @@ describe 'layouts/nav/sidebar/_project' do
end
describe
'issue boards'
do
it
'has board
s tab when multiple issue boards available
'
do
it
'has board
tab
'
do
render
expect
(
rendered
).
to
have_css
(
'a[title="Boards"]'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment