Skip to content

Commit

Permalink
Merge pull request #325 from zopefoundation/fix_breadcrumbs
Browse files Browse the repository at this point in the history
fix breadcrumbs if there is no title
  • Loading branch information
dwt committed Oct 1, 2018
2 parents bcb5a7b + 23d5e14 commit ec3614b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/App/dtml/manage_tabs.dtml
Expand Up @@ -42,7 +42,7 @@

<nav aria-label="breadcrumb">
<dtml-let breadcrumb_length="len(list(tabs_path_default(REQUEST)))">
<ol class="breadcrumb <dtml-var "'zmi-' + title.replace(' ','')">"
<ol class="breadcrumb <dtml-var "'zmi-' + title_or_id().replace(' ','')">"
data-length="<dtml-var breadcrumb_length>">
<li class="breadcrumb-item meta_type">
<dtml-if meta_type>
Expand All @@ -69,7 +69,7 @@
&nbsp;/&nbsp;
</dtml-if>
<dtml-if wl_isLocked
><span class="badge badge-warning"
><span class="badge badge-warning"
title="This item has been locked by WebDAV"><i class="fa fa-lock"></i></span>
</dtml-if>
</li>
Expand Down

0 comments on commit ec3614b

Please sign in to comment.