BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
1efa8f2e
Commit
1efa8f2e
authored
Feb 08, 2017
by
Z.J. van de Weg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename issuable to IssueBase
Given the the Issuable class will soon also have to support MRs this signals that it can only be used by issues.
parent
bbb7fbcd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
issue_base.rb
lib/gitlab/chat_commands/presenters/issue_base.rb
+1
-1
issue_new.rb
lib/gitlab/chat_commands/presenters/issue_new.rb
+1
-1
issue_search.rb
lib/gitlab/chat_commands/presenters/issue_search.rb
+1
-1
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 @
1efa8f2e
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 @
1efa8f2e
...
@@ -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 @
1efa8f2e
...
@@ -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 @
1efa8f2e
...
@@ -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