Commit fc4c027e authored by GitLab Bot's avatar GitLab Bot

Merge remote-tracking branch 'upstream/master' into ce-to-ee-2018-11-14

parents ac82fb3c 28e3a90b
...@@ -428,7 +428,7 @@ cloud-native-image: ...@@ -428,7 +428,7 @@ cloud-native-image:
image: ruby:2.5-alpine image: ruby:2.5-alpine
before_script: [] before_script: []
dependencies: [] dependencies: []
stage: test stage: post-test
allow_failure: true allow_failure: true
variables: variables:
GIT_DEPTH: "1" GIT_DEPTH: "1"
......
...@@ -327,7 +327,7 @@ group :development do ...@@ -327,7 +327,7 @@ group :development do
# Better errors handler # Better errors handler
gem 'better_errors', '~> 2.1.0' gem 'better_errors', '~> 2.1.0'
gem 'binding_of_caller', '~> 0.7.2' gem 'binding_of_caller', '~> 0.8.0'
# thin instead webrick # thin instead webrick
gem 'thin', '~> 1.7.0' gem 'thin', '~> 1.7.0'
......
...@@ -87,7 +87,7 @@ GEM ...@@ -87,7 +87,7 @@ GEM
erubis (>= 2.6.6) erubis (>= 2.6.6)
rack (>= 0.9.0) rack (>= 0.9.0)
bindata (2.4.3) bindata (2.4.3)
binding_of_caller (0.7.2) binding_of_caller (0.8.0)
debug_inspector (>= 0.0.1) debug_inspector (>= 0.0.1)
bootsnap (1.3.2) bootsnap (1.3.2)
msgpack (~> 1.0) msgpack (~> 1.0)
...@@ -145,7 +145,7 @@ GEM ...@@ -145,7 +145,7 @@ GEM
addressable addressable
daemons (1.2.6) daemons (1.2.6)
database_cleaner (1.5.3) database_cleaner (1.5.3)
debug_inspector (0.0.2) debug_inspector (0.0.3)
debugger-ruby_core_source (1.3.8) debugger-ruby_core_source (1.3.8)
deckar01-task_list (2.0.0) deckar01-task_list (2.0.0)
html-pipeline html-pipeline
...@@ -973,7 +973,7 @@ DEPENDENCIES ...@@ -973,7 +973,7 @@ DEPENDENCIES
bcrypt_pbkdf (~> 1.0) bcrypt_pbkdf (~> 1.0)
benchmark-ips (~> 2.3.0) benchmark-ips (~> 2.3.0)
better_errors (~> 2.1.0) better_errors (~> 2.1.0)
binding_of_caller (~> 0.7.2) binding_of_caller (~> 0.8.0)
bootsnap (~> 1.3) bootsnap (~> 1.3)
bootstrap_form (~> 2.7.0) bootstrap_form (~> 2.7.0)
brakeman (~> 4.2) brakeman (~> 4.2)
......
...@@ -90,7 +90,7 @@ GEM ...@@ -90,7 +90,7 @@ GEM
erubis (>= 2.6.6) erubis (>= 2.6.6)
rack (>= 0.9.0) rack (>= 0.9.0)
bindata (2.4.3) bindata (2.4.3)
binding_of_caller (0.7.2) binding_of_caller (0.8.0)
debug_inspector (>= 0.0.1) debug_inspector (>= 0.0.1)
bootsnap (1.3.2) bootsnap (1.3.2)
msgpack (~> 1.0) msgpack (~> 1.0)
...@@ -148,7 +148,7 @@ GEM ...@@ -148,7 +148,7 @@ GEM
addressable addressable
daemons (1.2.6) daemons (1.2.6)
database_cleaner (1.5.3) database_cleaner (1.5.3)
debug_inspector (0.0.2) debug_inspector (0.0.3)
debugger-ruby_core_source (1.3.8) debugger-ruby_core_source (1.3.8)
deckar01-task_list (2.0.0) deckar01-task_list (2.0.0)
html-pipeline html-pipeline
...@@ -982,7 +982,7 @@ DEPENDENCIES ...@@ -982,7 +982,7 @@ DEPENDENCIES
bcrypt_pbkdf (~> 1.0) bcrypt_pbkdf (~> 1.0)
benchmark-ips (~> 2.3.0) benchmark-ips (~> 2.3.0)
better_errors (~> 2.1.0) better_errors (~> 2.1.0)
binding_of_caller (~> 0.7.2) binding_of_caller (~> 0.8.0)
bootsnap (~> 1.3) bootsnap (~> 1.3)
bootstrap_form (~> 2.7.0) bootstrap_form (~> 2.7.0)
brakeman (~> 4.2) brakeman (~> 4.2)
......
...@@ -7,10 +7,10 @@ ...@@ -7,10 +7,10 @@
.event-title.d-flex.flex-wrap .event-title.d-flex.flex-wrap
= inline_event_icon(event) = inline_event_icon(event)
%span.event-type.d-inline-block.append-right-4.pushed #{event.action_name} #{event.ref_type} %span.event-type.d-inline-block.append-right-4.pushed #{event.action_name} #{event.ref_type}
%span %span.append-right-4
- commits_link = project_commits_path(project, event.ref_name) - commits_link = project_commits_path(project, event.ref_name)
- should_link = event.tag? ? project.repository.tag_exists?(event.ref_name) : project.repository.branch_exists?(event.ref_name) - should_link = event.tag? ? project.repository.tag_exists?(event.ref_name) : project.repository.branch_exists?(event.ref_name)
= link_to_if should_link, event.ref_name, commits_link, class: 'ref-name append-right-4' = link_to_if should_link, event.ref_name, commits_link, class: 'ref-name'
= render "events/event_scope", event: event = render "events/event_scope", event: event
......
...@@ -23,28 +23,29 @@ ...@@ -23,28 +23,29 @@
%li.inline %li.inline
= link_to edit_label_path(label), class: 'btn btn-transparent label-action edit has-tooltip', title: _('Edit'), data: { placement: 'bottom' }, aria_label: _('Edit') do = link_to edit_label_path(label), class: 'btn btn-transparent label-action edit has-tooltip', title: _('Edit'), data: { placement: 'bottom' }, aria_label: _('Edit') do
= sprite_icon('pencil') = sprite_icon('pencil')
%li.inline - if can?(current_user, :admin_label, label)
.dropdown %li.inline
%button{ type: 'button', class: 'btn btn-transparent js-label-options-dropdown label-action', data: { toggle: 'dropdown' }, aria_label: _('Label actions dropdown') } .dropdown
= sprite_icon('ellipsis_v') %button{ type: 'button', class: 'btn btn-transparent js-label-options-dropdown label-action', data: { toggle: 'dropdown' }, aria_label: _('Label actions dropdown') }
.dropdown-menu.dropdown-open-left = sprite_icon('ellipsis_v')
%ul .dropdown-menu.dropdown-open-left
- if label.is_a?(ProjectLabel) && label.project.group && can?(current_user, :admin_label, label.project.group) %ul
%li - if label.is_a?(ProjectLabel) && label.project.group && can?(current_user, :admin_label, label.project.group)
%button.js-promote-project-label-button.btn.btn-transparent.btn-action{ disabled: true, type: 'button', %li
data: { url: promote_project_label_path(label.project, label), %button.js-promote-project-label-button.btn.btn-transparent.btn-action{ disabled: true, type: 'button',
label_title: label.title, data: { url: promote_project_label_path(label.project, label),
label_color: label.color, label_title: label.title,
label_text_color: label.text_color, label_color: label.color,
group_name: label.project.group.name, label_text_color: label.text_color,
target: '#promote-label-modal', group_name: label.project.group.name,
container: 'body', target: '#promote-label-modal',
toggle: 'modal' } } container: 'body',
= _('Promote to group label') toggle: 'modal' } }
- if can?(current_user, :admin_label, label) = _('Promote to group label')
%li - if can?(current_user, :admin_label, label)
%span{ data: { toggle: 'modal', target: "#modal-delete-label-#{label.id}" } } %li
%button.text-danger.remove-row{ type: 'button' }= _('Delete') %span{ data: { toggle: 'modal', target: "#modal-delete-label-#{label.id}" } }
%button.text-danger.remove-row{ type: 'button' }= _('Delete')
- if current_user - if current_user
%li.inline.label-subscription %li.inline.label-subscription
- if can_subscribe_to_label_in_different_levels?(label) - if can_subscribe_to_label_in_different_levels?(label)
......
---
title: Removes promote to group label for anonymous user
merge_request: 23042
author: Jacopo Beschi @jacopo-beschi
type: fixed
---
title: Adds margin after a deleted branch name in the activity feed.
merge_request: 23038
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment