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
0
Merge Requests
0
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
iv
gitlab-ce
Commits
e0a18829
Commit
e0a18829
authored
Feb 23, 2016
by
Rubén Dávila
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show project name for Issues tab in Group and Dashboard context.
parent
32f8fc1f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
10 deletions
+17
-10
app/views/dashboard/milestones/show.html.haml
app/views/dashboard/milestones/show.html.haml
+3
-3
app/views/groups/milestones/show.html.haml
app/views/groups/milestones/show.html.haml
+3
-3
app/views/shared/milestones/_issue.html.haml
app/views/shared/milestones/_issue.html.haml
+4
-0
app/views/shared/milestones/_issues.html.haml
app/views/shared/milestones/_issues.html.haml
+1
-1
app/views/shared/milestones/_issues_tab.html.haml
app/views/shared/milestones/_issues_tab.html.haml
+6
-3
No files found.
app/views/dashboard/milestones/show.html.haml
View file @
e0a18829
...
...
@@ -68,10 +68,10 @@
.tab-content.milestone-content
.tab-pane.active
#tab-issues
=
render
'shared/milestones/issues_tab'
,
unassigned:
@milestone
.
opened_issues
.
unassigned
,
assigned:
@milestone
.
opened_issues
.
assigned
,
closed:
@milestone
.
closed_issues
=
render
'shared/milestones/issues_tab'
,
unassigned:
@milestone
.
opened_issues
.
unassigned
,
assigned:
@milestone
.
opened_issues
.
assigned
,
closed:
@milestone
.
closed_issues
,
show_full_project_name:
true
.tab-pane
#tab-merge-requests
=
render
'shared/milestones/merge_requests_tab'
,
unassigned:
@milestone
.
opened_merge_requests
.
unassigned
,
assigned:
@milestone
.
opened_merge_requests
.
assigned
,
closed:
@milestone
.
merge_requests
.
closed
,
merged:
@milestone
.
merge_requests
.
merged
=
render
'shared/milestones/merge_requests_tab'
,
unassigned:
@milestone
.
opened_merge_requests
.
unassigned
,
assigned:
@milestone
.
opened_merge_requests
.
assigned
,
closed:
@milestone
.
merge_requests
.
closed
,
merged:
@milestone
.
merge_requests
.
merged
,
show_full_project_name:
true
.tab-pane
#tab-participants
=
render
'shared/milestones/participants_tab'
,
users:
@milestone
.
participants
.tab-pane
#tab-labels
=
render
'shared/milestones/labels_tab'
,
labels:
@milestone
.
labels
=
render
'shared/milestones/labels_tab'
,
labels:
@milestone
.
labels
,
show_full_project_name:
true
app/views/groups/milestones/show.html.haml
View file @
e0a18829
...
...
@@ -74,10 +74,10 @@
.tab-content.milestone-content
.tab-pane.active
#tab-issues
=
render
'shared/milestones/issues_tab'
,
unassigned:
@milestone
.
opened_issues
.
unassigned
,
assigned:
@milestone
.
opened_issues
.
assigned
,
closed:
@milestone
.
closed_issues
=
render
'shared/milestones/issues_tab'
,
unassigned:
@milestone
.
opened_issues
.
unassigned
,
assigned:
@milestone
.
opened_issues
.
assigned
,
closed:
@milestone
.
closed_issues
,
show_project_name:
true
.tab-pane
#tab-merge-requests
=
render
'shared/milestones/merge_requests_tab'
,
unassigned:
@milestone
.
opened_merge_requests
.
unassigned
,
assigned:
@milestone
.
opened_merge_requests
.
assigned
,
closed:
@milestone
.
merge_requests
.
closed
,
merged:
@milestone
.
merge_requests
.
merged
=
render
'shared/milestones/merge_requests_tab'
,
unassigned:
@milestone
.
opened_merge_requests
.
unassigned
,
assigned:
@milestone
.
opened_merge_requests
.
assigned
,
closed:
@milestone
.
merge_requests
.
closed
,
merged:
@milestone
.
merge_requests
.
merged
,
show_project_name:
true
.tab-pane
#tab-participants
=
render
'shared/milestones/participants_tab'
,
users:
@milestone
.
participants
.tab-pane
#tab-labels
=
render
'shared/milestones/labels_tab'
,
labels:
@milestone
.
labels
=
render
'shared/milestones/labels_tab'
,
labels:
@milestone
.
labels
,
show_project_name:
true
app/views/shared/milestones/_issue.html.haml
View file @
e0a18829
...
...
@@ -3,6 +3,10 @@
%li
{
id:
dom_id
(
issue
,
'sortable'
),
class:
'issue-row'
,
'data-iid'
=>
issue
.
iid
,
'data-url'
=>
issue_path
(
issue
)
}
%span
-
if
show_project_name
%strong
#{
project
.
name
}
·
-
elsif
show_full_project_name
%strong
#{
project
.
name_with_namespace
}
·
=
link_to_gfm
issue
.
title
,
[
project
.
namespace
.
becomes
(
Namespace
),
project
,
issue
],
title:
issue
.
title
.issue-detail
=
link_to
[
project
.
namespace
.
becomes
(
Namespace
),
project
,
issue
]
do
...
...
app/views/shared/milestones/_issues.html.haml
View file @
e0a18829
...
...
@@ -4,4 +4,4 @@
.pull-right
=
issues
.
size
%ul
{
class:
"well-list issues-sortable-list"
,
id:
"issues-list-#{id}"
,
"data-state"
=>
id
}
-
issues
.
sort_by
(
&
:position
).
each
do
|
issue
|
=
render
'shared/milestones/issue'
,
issue:
issue
=
render
'shared/milestones/issue'
,
issue:
issue
,
show_project_name:
show_project_name
,
show_full_project_name:
show_full_project_name
app/views/shared/milestones/_issues_tab.html.haml
View file @
e0a18829
-
args
=
{
show_project_name:
local_assigns
.
fetch
(
:show_project_name
,
false
),
show_full_project_name:
local_assigns
.
fetch
(
:show_full_project_name
,
false
)
}
.row.prepend-top-default
.col-md-4
=
render
(
'shared/milestones/issues'
,
title:
'Unstarted Issues (open and unassigned)'
,
issues:
unassigned
,
id:
'unassigned'
)
=
render
'shared/milestones/issues'
,
args
.
merge
({
title:
'Unstarted Issues (open and unassigned)'
,
issues:
unassigned
,
id:
'unassigned'
}
)
.col-md-4
=
render
(
'shared/milestones/issues'
,
title:
'Ongoing Issues (open and assigned)'
,
issues:
assigned
,
id:
'ongoing'
)
=
render
'shared/milestones/issues'
,
args
.
merge
({
title:
'Ongoing Issues (open and assigned)'
,
issues:
assigned
,
id:
'ongoing'
}
)
.col-md-4
=
render
(
'shared/milestones/issues'
,
title:
'Completed Issues (closed)'
,
issues:
closed
,
id:
'closed'
)
=
render
'shared/milestones/issues'
,
args
.
merge
({
title:
'Completed Issues (closed)'
,
issues:
closed
,
id:
'closed'
}
)
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