Skip to content

Commit

Permalink
Fixed breadcrumb markup
Browse files Browse the repository at this point in the history
  • Loading branch information
ElisDN committed Sep 29, 2019
1 parent 204f682 commit 52d2bb2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions manager/templates/app/work/projects/actions.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
<li class="breadcrumb-item"><a href="{{ path('work') }}">Work</a></li>
<li class="breadcrumb-item"><a href="{{ path('work.projects') }}">Projects</a></li>
{% if project %}
<li class="breadcrumb-item">
<a href="{{ path('work.projects.project.show', {'id': project.id}) }}">{{ project.name }}</a></li>
<li class="breadcrumb-item"><a href="{{ path('work.projects.project.show', {'id': project.id}) }}">{{ project.name }}</a></li>
{% endif %}
<li class="breadcrumb-item active">Actions</li>
</ol>
Expand Down
3 changes: 1 addition & 2 deletions manager/templates/app/work/projects/calendar.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
<li class="breadcrumb-item"><a href="{{ path('work') }}">Work</a></li>
<li class="breadcrumb-item"><a href="{{ path('work.projects') }}">Projects</a></li>
{% if project %}
<li class="breadcrumb-item">
<a href="{{ path('work.projects.project.show', {'id': project.id}) }}">{{ project.name }}</a></li>
<li class="breadcrumb-item"><a href="{{ path('work.projects.project.show', {'id': project.id}) }}">{{ project.name }}</a></li>
{% endif %}
<li class="breadcrumb-item active">Calendar</li>
</ol>
Expand Down
6 changes: 2 additions & 4 deletions manager/templates/app/work/projects/tasks/show.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@
<li class="breadcrumb-item"><a href="{{ path('home') }}">Home</a></li>
<li class="breadcrumb-item"><a href="{{ path('work') }}">Work</a></li>
<li class="breadcrumb-item"><a href="{{ path('work.projects') }}">Projects</a></li>
<li class="breadcrumb-item">
<a href="{{ path('work.projects.project.show', {'id': project.id}) }}">{{ project.name }}</a></li>
<li class="breadcrumb-item"><a href="{{ path('work.projects.project.tasks', {'project_id': project.id}) }}">Tasks</a>
</li>
<li class="breadcrumb-item"><a href="{{ path('work.projects.project.show', {'id': project.id}) }}">{{ project.name }}</a></li>
<li class="breadcrumb-item"><a href="{{ path('work.projects.project.tasks', {'project_id': project.id}) }}">Tasks</a></li>
<li class="breadcrumb-item active">{{ task.name }}</li>
</ol>
{% endblock %}
Expand Down

0 comments on commit 52d2bb2

Please sign in to comment.