Commit 3ede06f5 authored by Leonardo Piccioni de Almeida's avatar Leonardo Piccioni de Almeida
Browse files

Hide fields: sexual orientation, state/department.

parent d1c2fdc4
......@@ -71,6 +71,8 @@ class Theme extends BaseV1\Theme{
$this->asset('img/home--projects.jpg', false);
$this->asset('img/home--spaces.jpg', false);
$this->enqueueScript('app', 'hide-fields', 'js/hide-fields.js');
$this->jsObject['assets']['logo-instituicao'] = $this->asset('img/logo-instituicao.png', false);
}
......
// Hide sexual orientation
.ficha-spcultura {
p.privado:nth-child(6) {
display: none;
}
}
\ No newline at end of file
......@@ -3,4 +3,5 @@
@import "variables";
@import "mixins";
@import "../../../../BaseV1/assets/css/sass/main";
@import "overrides";
\ No newline at end of file
@import "overrides";
@import "hide-fields";
\ No newline at end of file
// Hide Brazilian states
window.setTimeout(function() {
document.querySelectorAll('p').forEach(function(p) {
if (p.querySelectorAll('#En_Estado').length) {
p.style.display = 'none';
}
});
}, 1000);
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