Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
flask-admin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
flask-admin
Commits
b8a6615e
Commit
b8a6615e
authored
Aug 09, 2020
by
Titanium Hocker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: breadcrumb in FileAdmin
parent
348c1c6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
list.html
flask_admin/templates/bootstrap4/admin/file/list.html
+13
-11
No files found.
flask_admin/templates/bootstrap4/admin/file/list.html
View file @
b8a6615e
...
@@ -4,21 +4,23 @@
...
@@ -4,21 +4,23 @@
{% block body %}
{% block body %}
{% block breadcrums %}
{% block breadcrums %}
<ul
class=
"breadcrumb"
>
<nav
area-label=
"breadcrumb"
>
<li>
<ol
class=
"breadcrumb"
>
<li
class=
"breadcrumb-item"
>
<a
href=
"{{ get_dir_url('.index_view', path=None) }}"
>
{{ _gettext('Root') }}
</a>
<a
href=
"{{ get_dir_url('.index_view', path=None) }}"
>
{{ _gettext('Root') }}
</a>
</li>
</li>
{% for name, path in breadcrumbs[:-1] %}
{% for name, path in breadcrumbs[:-1] %}
<li
>
<li
class=
"breadcrumb-item"
>
<a
href=
"{{ get_dir_url('.index_view', path=path) }}"
>
{{ name }}
</a>
<a
href=
"{{ get_dir_url('.index_view', path=path) }}"
>
{{ name }}
</a>
</li>
</li>
{% endfor %}
{% endfor %}
{% if breadcrumbs %}
{% if breadcrumbs %}
<li
>
<li
class=
"breadcrumb-item"
>
<a
href=
"{{ get_dir_url('.index_view', path=breadcrumbs[-1][1]) }}"
>
{{ breadcrumbs[-1][0] }}
</a>
<a
href=
"{{ get_dir_url('.index_view', path=breadcrumbs[-1][1]) }}"
>
{{ breadcrumbs[-1][0] }}
</a>
</li>
</li>
{% endif %}
{% endif %}
</ul>
</ol>
</nav>
{% endblock %}
{% endblock %}
{% block file_list_table %}
{% block file_list_table %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment