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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
55a75296
Commit
55a75296
authored
Sep 20, 2017
by
Luke "Jared" Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
is-active review changes
parent
87de569a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
12 deletions
+9
-12
app/assets/javascripts/sidebar/components/confidential/confidential_issue_sidebar.vue
...ar/components/confidential/confidential_issue_sidebar.vue
+2
-2
app/assets/javascripts/sidebar/components/lock/lock_issue_sidebar.vue
...avascripts/sidebar/components/lock/lock_issue_sidebar.vue
+2
-2
app/assets/stylesheets/pages/issuable.scss
app/assets/stylesheets/pages/issuable.scss
+5
-8
No files found.
app/assets/javascripts/sidebar/components/confidential/confidential_issue_sidebar.vue
View file @
55a75296
...
...
@@ -70,11 +70,11 @@ export default {
:update-confidential-attribute=
"updateConfidentialAttribute"
/>
<div
v-if=
"!isConfidential"
class=
"no-value sidebar-item-value"
>
<i
class=
"fa fa-eye
not-active
"
></i>
<i
class=
"fa fa-eye
sidebar-item-icon
"
></i>
Not confidential
</div>
<div
v-else
class=
"value sidebar-item-value hide-collapsed"
>
<i
aria-hidden=
"true"
class=
"fa fa-eye-slash is-active"
></i>
<i
aria-hidden=
"true"
class=
"fa fa-eye-slash
sidebar-item-icon
is-active"
></i>
This issue is confidential
</div>
</div>
...
...
app/assets/javascripts/sidebar/components/lock/lock_issue_sidebar.vue
View file @
55a75296
...
...
@@ -95,12 +95,12 @@ export default {
/>
<
div
v
-
if
=
"
isLocked
"
class
=
"
value sidebar-item-value
"
>
<
i
aria
-
hidden
=
"
true
"
class
=
"
fa fa-lock is-active
"
><
/i
>
<
i
aria
-
hidden
=
"
true
"
class
=
"
fa fa-lock
sidebar-item-icon
is-active
"
><
/i
>
{{
__
(
'
Locked
'
)
}}
<
/div
>
<
div
v
-
else
class
=
"
no-value sidebar-item-value hide-collapsed
"
>
<
i
aria
-
hidden
=
"
true
"
class
=
"
fa fa-unlock
not-active
"
><
/i
>
<
i
aria
-
hidden
=
"
true
"
class
=
"
fa fa-unlock
sidebar-item-icon
"
><
/i
>
{{
__
(
'
Unlocked
'
)
}}
<
/div
>
<
/div
>
...
...
app/assets/stylesheets/pages/issuable.scss
View file @
55a75296
...
...
@@ -16,15 +16,12 @@
text-align
:
center
;
}
.issuable-sidebar-item
{
.not-active
,
.is-active
{
border-radius
:
$border-radius-default
;
padding
:
5px
;
margin
:
0
3px
0
-4px
;
}
.sidebar-item-icon
{
border-radius
:
$border-radius-default
;
padding
:
5px
;
margin
:
0
3px
0
-4px
;
.is-active
{
&
.is-active
{
color
:
$orange-600
;
background-color
:
$orange-50
;
}
...
...
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