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
0b09d39b
Commit
0b09d39b
authored
Apr 03, 2018
by
Winnie Hellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflicts in issuables_helper.rb
parent
39cceaa1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
20 deletions
+3
-20
app/controllers/dashboard_controller.rb
app/controllers/dashboard_controller.rb
+1
-0
app/helpers/issuables_helper.rb
app/helpers/issuables_helper.rb
+0
-18
ee/app/views/shared/issuable/_epic_nav.html.haml
ee/app/views/shared/issuable/_epic_nav.html.haml
+2
-2
No files found.
app/controllers/dashboard_controller.rb
View file @
0b09d39b
...
...
@@ -6,6 +6,7 @@ class DashboardController < Dashboard::ApplicationController
:author_id
,
:assignee_id
,
:milestone_title
,
:weight
,
:label_name
].
freeze
...
...
app/helpers/issuables_helper.rb
View file @
0b09d39b
...
...
@@ -159,11 +159,7 @@ module IssuablesHelper
label_names
.
join
(
', '
)
end
<<<<<<<
HEAD
def
issuables_state_counter_text
(
issuable_type
,
state
=
:all
)
=======
def
issuables_state_counter_text
(
issuable_type
,
state
,
display_count
)
>>>>>>>
37193
ac0da0
...
Check
if
at
least
one
filter
is
set
on
dashboard
titles
=
{
opened:
"Open"
}
...
...
@@ -197,20 +193,6 @@ module IssuablesHelper
end
end
<<<<<<<
HEAD
def
issuable_filter_params
[
:search
,
:author_id
,
:assignee_id
,
:milestone_title
,
:weight
,
:label_name
]
end
=======
>>>>>>>
37193
ac0da0
...
Check
if
at
least
one
filter
is
set
on
dashboard
def
issuable_reference
(
issuable
)
@show_full_reference
?
issuable
.
to_reference
(
full:
true
)
:
issuable
.
to_reference
(
@group
||
@project
)
end
...
...
ee/app/views/shared/issuable/_epic_nav.html.haml
View file @
0b09d39b
-
type
=
local_assigns
.
fetch
(
:type
,
:epics
)
-
page_context_word
=
type
.
to_s
.
humanize
(
capitalize:
false
)
-
display_count
=
local_assigns
.
fetch
(
:display_count
,
:true
)
%ul
.nav-links.epics-state-filters
=
render
'shared/issuable/nav_links/all'
,
page_context_word:
page_context_word
,
counter:
issuables_state_counter_text
(
type
,
:all
)
=
render
'shared/issuable/nav_links/all'
,
page_context_word:
page_context_word
,
counter:
issuables_state_counter_text
(
type
,
:all
,
display_count
)
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