Add current template folder path to header and page title

When a folder is selected the full path is displayed in page title
and header (for example `Templates / Folder1 / Folder2`). Elements
of the path link to the corresponding folder. Current folder is not
linked.
This commit is contained in:
Alexey Bezhan
2018-11-05 16:30:51 +00:00
parent 20abe96fc9
commit 731d41f993
2 changed files with 22 additions and 3 deletions

View File

@@ -158,7 +158,7 @@ def test_accepting_invite_removes_invite_from_session(
token='thisisnotarealtoken',
_follow_redirects=True,
)
assert page.h1.string == landing_page_title
assert normalize_spaces(page.h1.string) == landing_page_title
with client_request.session_transaction() as session:
assert 'invited_user' not in session