Use name instead of path if possible in breadcrumbs

This commit is contained in:
Alexandre Aubin 2019-04-24 19:34:05 +02:00
parent 34f22ee7de
commit 7df892535b

View file

@ -2,7 +2,11 @@
<a href="#/" ><i class="fa-home"></i><span class="sr-only">{{t 'home'}}</span></a>
<a href="#/tools">{{t 'tools'}}</a>
<a href="#/tools/logs">{{t 'logs'}}</a>
{{#if log.name}}
<a href="#/tools/logs/{{ log.name }}">{{ log.name }}</a>
{{else}}
<a href="#/tools/logs/{{ log.log_path }}">{{ log.log_path }}</a>
{{/if}}
</div>
<div class="actions-group">