Skip to content

Commit

Permalink
Merge pull request RedeMapas#7 from secultce/fix/breadcrumbs-links
Browse files Browse the repository at this point in the history
Fix breadcrumb links to reflect correct navigation.
  • Loading branch information
TalysonSoares authored Mar 1, 2024
2 parents 6ecf4b9 + b982015 commit b8eb97e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/modules/Search/views/search/agent.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

$this->breadcrumb = [
['label' => i::__('Inicio'), 'url' => $app->createUrl('site', 'index')],
['label' => i::__('Agentes'), 'url' => $app->createUrl('agents')],
['label' => i::__('Agentes'), 'url' => $app->createUrl('agentes')],
];
?>
<search page-title="<?php i::esc_attr_e('Agentes') ?>" entity-type="agent" :initial-pseudo-query="{'term:area':[]}">
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Search/views/search/event.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

$this->breadcrumb = [
['label' => i::__('Inicio'), 'url' => $app->createUrl('site', 'index')],
['label' => i::__('Eventos'), 'url' => $app->createUrl('events')],
['label' => i::__('Eventos'), 'url' => $app->createUrl('eventos')],
];
?>
<search page-title="<?php i::esc_attr_e('Eventos') ?>" entity-type="event" :initial-pseudo-query="{'event:term:linguagem':[],'event:term:linguagem':[], 'event:classificacaoEtaria': []}">
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Search/views/search/opportunity.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

$this->breadcrumb = [
['label'=> i::__('Inicio'), 'url' => $app->createUrl('site', 'index')],
['label'=> i::__('Oportunidades'), 'url' => $app->createUrl('opportunities')],
['label'=> i::__('Oportunidades'), 'url' => $app->createUrl('oportunidades')],
];
?>
<search page-title="<?php i::esc_attr_e('Oportunidades') ?>" entity-type="opportunity" :initial-pseudo-query="{type:[],'term:area':[]}">
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Search/views/search/project.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

$this->breadcrumb = [
['label' => i::__('Inicio'), 'url' => $app->createUrl('site', 'index')],
['label' => i::__('Projetos'), 'url' => $app->createUrl('projects')],
['label' => i::__('Projetos'), 'url' => $app->createUrl('projetos')],
];
?>

Expand Down
2 changes: 1 addition & 1 deletion src/modules/Search/views/search/space.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

$this->breadcrumb = [
['label'=> i::__('Inicio'), 'url' => $app->createUrl('site', 'index')],
['label'=> i::__('Espaços'), 'url' => $app->createUrl('spaces')],
['label'=> i::__('Espaços'), 'url' => $app->createUrl('espacos')],
];
?>
<search page-title="<?php i::esc_attr_e('Espaços') ?>" entity-type="space" :initial-pseudo-query="{'term:area':[], type:[]}">
Expand Down

0 comments on commit b8eb97e

Please sign in to comment.