Change .js-wip-explanation div element to span

This commit is contained in:
Gerard Montemayor 2018-09-13 20:38:11 +08:00
parent 71f3d48544
commit 81978f938e
2 changed files with 7 additions and 2 deletions

View file

@ -10,7 +10,7 @@
- if issuable.respond_to?(:work_in_progress?) - if issuable.respond_to?(:work_in_progress?)
%p.form-text.text-muted %p.form-text.text-muted
.js-wip-explanation %span.js-wip-explanation
%a.js-toggle-wip{ href: '', tabindex: -1 } %a.js-toggle-wip{ href: '', tabindex: -1 }
Remove the Remove the
%code WIP: %code WIP:
@ -18,7 +18,7 @@
to allow this to allow this
%strong Work In Progress %strong Work In Progress
merge request to be merged when it's ready. merge request to be merged when it's ready.
.js-no-wip-explanation %span.js-no-wip-explanation
- if has_wip_commits - if has_wip_commits
It looks like you have some WIP commits in this branch. It looks like you have some WIP commits in this branch.
%br %br

View file

@ -0,0 +1,5 @@
---
title: Fix wrong text color of help text in merge request creation
merge_request:
author: Gerard Montemayor
type: fixed