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
a7d1db72
Commit
a7d1db72
authored
Feb 19, 2020
by
GitLab Bot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add latest changes from gitlab-org/gitlab@master
parent
33795139
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
6 deletions
+3
-6
app/helpers/labels_helper.rb
app/helpers/labels_helper.rb
+2
-6
spec/frontend/create_cluster/gke_cluster/stores/mutations_spec.js
...ntend/create_cluster/gke_cluster/stores/mutations_spec.js
+0
-0
spec/lib/gitlab/ci/yaml_processor_spec.rb
spec/lib/gitlab/ci/yaml_processor_spec.rb
+1
-0
No files found.
app/helpers/labels_helper.rb
View file @
a7d1db72
...
...
@@ -2,7 +2,6 @@
module
LabelsHelper
extend
self
include
ActionView
::
Helpers
::
TagHelper
def
show_label_issuables_link?
(
label
,
issuables_type
,
current_user:
nil
)
return
true
unless
label
.
project_label?
...
...
@@ -64,8 +63,8 @@ module LabelsHelper
# by LabelReferenceFilter
span
=
%(<span class="badge color-label #{"has-tooltip" if tooltip}" )
+
%(data-html="true" style="background-color: #{label.color}; color: #{text_color}" )
+
%(title="#{escape_once(title)}" data-container="body">)
+
%(#{escape_once(label.name)}#{label_suffix}</span>)
%(title="#{
ERB::Util.html_
escape_once(title)}" data-container="body">)
+
%(#{
ERB::Util.html_
escape_once(label.name)}#{label_suffix}</span>)
span
.
html_safe
end
...
...
@@ -247,9 +246,6 @@ module LabelsHelper
def
issuable_types
[
'issues'
,
'merge requests'
]
end
# Required for Banzai::Filter::LabelReferenceFilter
module_function
:render_colored_label
,
:text_color_for_bg
,
:escape_once
,
:label_tooltip_title
end
LabelsHelper
.
prepend_if_ee
(
'EE::LabelsHelper'
)
spec/
javascripts
/create_cluster/gke_cluster/stores/mutations_spec.js
→
spec/
frontend
/create_cluster/gke_cluster/stores/mutations_spec.js
View file @
a7d1db72
File moved
spec/lib/gitlab/ci/yaml_processor_spec.rb
View file @
a7d1db72
...
...
@@ -101,6 +101,7 @@ module Gitlab
name:
"rspec"
,
only:
{
refs:
%w[branches tags]
},
options:
{
script:
[
"rspec"
]
},
scheduling_type: :stage
,
tag_list:
%w[A B]
,
allow_failure:
false
,
when:
"on_success"
,
...
...
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