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
c8b9c7c5
Commit
c8b9c7c5
authored
Nov 01, 2017
by
Fatih Acet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IssueBoards: Show project name in group context inside board item and sidebar.
parent
e24d1890
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
4 deletions
+8
-4
app/assets/javascripts/boards/components/issue_card_inner.js
app/assets/javascripts/boards/components/issue_card_inner.js
+1
-1
app/assets/stylesheets/pages/boards.scss
app/assets/stylesheets/pages/boards.scss
+1
-0
app/views/groups/boards/show.html.haml
app/views/groups/boards/show.html.haml
+1
-1
app/views/shared/boards/_show.html.haml
app/views/shared/boards/_show.html.haml
+2
-1
app/views/shared/boards/components/_sidebar.html.haml
app/views/shared/boards/components/_sidebar.html.haml
+3
-1
No files found.
app/assets/javascripts/boards/components/issue_card_inner.js
View file @
c8b9c7c5
...
...
@@ -158,7 +158,7 @@ gl.issueBoards.IssueCardInner = Vue.extend({
class="card-number"
v-if="issueId"
>
{{ issueId }}
<span v-if="groupId && issue.project">{{issue.project.path}}</span>
{{ issueId }}
</span>
</h4>
<div class="card-assignee">
...
...
app/assets/stylesheets/pages/boards.scss
View file @
c8b9c7c5
...
...
@@ -430,6 +430,7 @@
.card-number
{
font-size
:
12px
;
color
:
$gl-text-color-secondary
;
display
:
inline-block
;
}
.issue-boards-search
{
...
...
app/views/groups/boards/show.html.haml
View file @
c8b9c7c5
=
render
"shared/boards/show"
,
board:
@board
=
render
"shared/boards/show"
,
board:
@board
,
group:
true
app/views/shared/boards/_show.html.haml
View file @
c8b9c7c5
-
board
=
local_assigns
.
fetch
(
:board
,
nil
)
-
group
=
local_assigns
.
fetch
(
:group
,
false
)
-
@no_breadcrumb_container
=
true
-
@no_container
=
true
-
@content_class
=
"issue-boards-content js-focus-mode-board"
...
...
@@ -30,7 +31,7 @@
":root-path"
=>
"rootPath"
,
":board-id"
=>
"boardId"
,
":key"
=>
"_uid"
}
=
render
"shared/boards/components/sidebar"
=
render
"shared/boards/components/sidebar"
,
group:
group
-
if
@project
%board-add-issues-modal
{
"new-issue-path"
=>
new_project_issue_path
(
@project
),
"milestone-path"
=>
milestones_filter_dropdown_path
,
...
...
app/views/shared/boards/components/_sidebar.html.haml
View file @
c8b9c7c5
...
...
@@ -8,7 +8,9 @@
%strong
{{ issue.title }}
%br
/
%span
%span<
-
if
@group
{{
issue
.
project
&&
issue
.
project
.
path
}}
=
precede
"#"
do
{{
issue
.
iid
}}
%a
.gutter-toggle.pull-right
{
role:
"button"
,
...
...
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