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
Boxiang Sun
gitlab-ce
Commits
657c4c18
Commit
657c4c18
authored
Feb 10, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into 27955-mr-notification-use-pipeline-language
* master: Rename issuable to IssueBase
parents
be88e942
f60cb12f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
lib/gitlab/chat_commands/presenters/issue_base.rb
lib/gitlab/chat_commands/presenters/issue_base.rb
+1
-1
lib/gitlab/chat_commands/presenters/issue_new.rb
lib/gitlab/chat_commands/presenters/issue_new.rb
+1
-1
lib/gitlab/chat_commands/presenters/issue_search.rb
lib/gitlab/chat_commands/presenters/issue_search.rb
+1
-1
lib/gitlab/chat_commands/presenters/issue_show.rb
lib/gitlab/chat_commands/presenters/issue_show.rb
+1
-1
No files found.
lib/gitlab/chat_commands/presenters/issu
abl
e.rb
→
lib/gitlab/chat_commands/presenters/issu
e_bas
e.rb
View file @
657c4c18
module
Gitlab
module
Gitlab
module
ChatCommands
module
ChatCommands
module
Presenters
module
Presenters
module
Issu
abl
e
module
Issu
eBas
e
def
color
(
issuable
)
def
color
(
issuable
)
issuable
.
open?
?
'#38ae67'
:
'#d22852'
issuable
.
open?
?
'#38ae67'
:
'#d22852'
end
end
...
...
lib/gitlab/chat_commands/presenters/issue_new.rb
View file @
657c4c18
...
@@ -2,7 +2,7 @@ module Gitlab
...
@@ -2,7 +2,7 @@ module Gitlab
module
ChatCommands
module
ChatCommands
module
Presenters
module
Presenters
class
IssueNew
<
Presenters
::
Base
class
IssueNew
<
Presenters
::
Base
include
Presenters
::
Issu
abl
e
include
Presenters
::
Issu
eBas
e
def
present
def
present
in_channel_response
(
new_issue
)
in_channel_response
(
new_issue
)
...
...
lib/gitlab/chat_commands/presenters/issue_search.rb
View file @
657c4c18
...
@@ -2,7 +2,7 @@ module Gitlab
...
@@ -2,7 +2,7 @@ module Gitlab
module
ChatCommands
module
ChatCommands
module
Presenters
module
Presenters
class
IssueSearch
<
Presenters
::
Base
class
IssueSearch
<
Presenters
::
Base
include
Presenters
::
Issu
abl
e
include
Presenters
::
Issu
eBas
e
def
present
def
present
text
=
if
@resource
.
count
>=
5
text
=
if
@resource
.
count
>=
5
...
...
lib/gitlab/chat_commands/presenters/issue_show.rb
View file @
657c4c18
...
@@ -2,7 +2,7 @@ module Gitlab
...
@@ -2,7 +2,7 @@ module Gitlab
module
ChatCommands
module
ChatCommands
module
Presenters
module
Presenters
class
IssueShow
<
Presenters
::
Base
class
IssueShow
<
Presenters
::
Base
include
Presenters
::
Issu
abl
e
include
Presenters
::
Issu
eBas
e
def
present
def
present
if
@resource
.
confidential?
if
@resource
.
confidential?
...
...
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