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
62810d8c
Commit
62810d8c
authored
Nov 29, 2019
by
Vitali Tatarintev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename fallback to fallback_message
Rename method to fallback_message in SlashCommands for readability
parent
1b8869ef
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
lib/gitlab/slash_commands/presenters/base.rb
lib/gitlab/slash_commands/presenters/base.rb
+1
-1
lib/gitlab/slash_commands/presenters/issue_close.rb
lib/gitlab/slash_commands/presenters/issue_close.rb
+1
-1
lib/gitlab/slash_commands/presenters/issue_comment.rb
lib/gitlab/slash_commands/presenters/issue_comment.rb
+1
-1
lib/gitlab/slash_commands/presenters/issue_move.rb
lib/gitlab/slash_commands/presenters/issue_move.rb
+1
-1
lib/gitlab/slash_commands/presenters/issue_new.rb
lib/gitlab/slash_commands/presenters/issue_new.rb
+1
-1
lib/gitlab/slash_commands/presenters/issue_show.rb
lib/gitlab/slash_commands/presenters/issue_show.rb
+1
-1
No files found.
lib/gitlab/slash_commands/presenters/base.rb
View file @
62810d8c
...
...
@@ -92,7 +92,7 @@ module Gitlab
title_link:
resource_url
,
author_name:
author
.
name
,
author_icon:
author
.
avatar_url
,
fallback:
fallback
,
fallback:
fallback
_message
,
pretext:
custom_pretext
,
text:
text
,
color:
color
(
resource
),
...
...
lib/gitlab/slash_commands/presenters/issue_close.rb
View file @
62810d8c
...
...
@@ -20,7 +20,7 @@ module Gitlab
private
def
fallback
def
fallback
_message
"Closed issue
#{
issue
.
to_reference
}
:
#{
issue
.
title
}
"
end
...
...
lib/gitlab/slash_commands/presenters/issue_comment.rb
View file @
62810d8c
...
...
@@ -12,7 +12,7 @@ module Gitlab
private
def
fallback
def
fallback
_message
"New comment on
#{
issue
.
to_reference
}
:
#{
issue
.
title
}
"
end
...
...
lib/gitlab/slash_commands/presenters/issue_move.rb
View file @
62810d8c
...
...
@@ -22,7 +22,7 @@ module Gitlab
response_message
(
custom_pretext:
custom_pretext
(
old_issue
))
end
def
fallback
def
fallback
_message
"Issue
#{
issue
.
to_reference
}
:
#{
issue
.
title
}
"
end
...
...
lib/gitlab/slash_commands/presenters/issue_new.rb
View file @
62810d8c
...
...
@@ -12,7 +12,7 @@ module Gitlab
private
def
fallback
def
fallback
_message
"New issue
#{
issue
.
to_reference
}
:
#{
issue
.
title
}
"
end
...
...
lib/gitlab/slash_commands/presenters/issue_show.rb
View file @
62810d8c
...
...
@@ -16,7 +16,7 @@ module Gitlab
private
def
fallback
def
fallback
_message
"Issue
#{
resource
.
to_reference
}
:
#{
resource
.
title
}
"
end
...
...
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