gitlab-org--gitlab-foss/app/views/layouts/_user_styles.html.haml

25 lines
473 B
Text
Raw Normal View History

2015-08-06 07:15:33 -04:00
:css
[data-user-is] {
display: none !important;
}
[data-user-is="#{current_user.try(:id)}"] {
display: block !important;
}
2015-08-06 08:55:03 -04:00
[data-user-is="#{current_user.try(:id)}"][data-display="inline"] {
display: inline !important;
}
2015-08-06 07:15:33 -04:00
[data-user-is-not] {
display: block !important;
}
2015-08-06 08:55:03 -04:00
[data-user-is-not][data-display="inline"] {
display: inline !important;
}
2015-08-06 07:15:33 -04:00
[data-user-is-not="#{current_user.try(:id)}"] {
display: none !important;
}