Commit 5188eefd8557420ea33e3a2bb9b44d3961404264
Exists in
master
and in
40 other branches
Merge branch 'add_you_are_here_breadcrumbs_label' into 'master'
Add you are here breadcrumbs label - Closes #615 As SECOM site style (example: http://www.planejamento.gov.br/) See merge request !129
Showing
2 changed files
with
6 additions
and
0 deletions
Show diff stats
src/noosfero-spb/noosfero-spb-theme/css/software-pages.css
@@ -19,6 +19,11 @@ | @@ -19,6 +19,11 @@ | ||
19 | display: none; | 19 | display: none; |
20 | } | 20 | } |
21 | 21 | ||
22 | +#wrap-2 .block.breadcrumbs-plugin_content-breadcrumbs-block #breadcrumbs-you-are-here{ | ||
23 | + color: #000; | ||
24 | + margin-right: 0.5em; | ||
25 | +} | ||
26 | + | ||
22 | /*** Software Header ***/ | 27 | /*** Software Header ***/ |
23 | /*block title software button control painel*/ | 28 | /*block title software button control painel*/ |
24 | .action-content_viewer-view_page #content .software-information-block .admin-link a{ | 29 | .action-content_viewer-view_page #content .software-information-block .admin-link a{ |
src/noosfero-spb/noosfero-spb-theme/theme.js
@@ -272,6 +272,7 @@ $('#link-buscar').click(function(e) { | @@ -272,6 +272,7 @@ $('#link-buscar').click(function(e) { | ||
272 | 272 | ||
273 | function move_breadcrumbs() { | 273 | function move_breadcrumbs() { |
274 | $('.breadcrumbs-plugin_content-breadcrumbs-block').prependTo('#wrap-2'); | 274 | $('.breadcrumbs-plugin_content-breadcrumbs-block').prependTo('#wrap-2'); |
275 | + $('<span id="breadcrumbs-you-are-here">Você está aqui:</span>').insertBefore($('.breadcrumbs-plugin_content-breadcrumbs-block .block-inner-2').children().first()); | ||
275 | } | 276 | } |
276 | 277 | ||
277 | $(document).ready(function(){ | 278 | $(document).ready(function(){ |