|
26 | 26 | <t t-set="_forum_name" t-value="forum.name if forum else _all_forums"/> |
27 | 27 | <!-- allows to be overridden such as in website_slides_forum --> |
28 | 28 | <t t-set="breadcrumb_kind" t-valuef="base"/> |
29 | | - <nav id="o_wforum_nav" t-attf-class="navbar d-flex gap-2 #{ 'mw-xl-75 mw-xxl-100' if _page_name == 'single_question' else '' } px-0" aria-label="breadcrumb"> |
| 29 | + <nav id="o_wforum_nav" t-attf-class="navbar d-flex gap-2 #{ 'mw-xl-75 mw-xxl-100' if _page_name == 'single_question' else '' } p-0" aria-label="breadcrumb"> |
30 | 30 | <t t-if="_page_name == 'single_question'"> |
31 | 31 | <div class="flex-grow-1"> |
32 | | - <div class="o_wforum_breadcrumb_root_single row g-0"> |
33 | | - <div t-if="breadcrumb_kind == 'base'" class="col-10"> |
34 | | - <a class="btn btn-link px-0 pb-2 fs-5" t-attf-href="/forum/#{ _forum_slug }"> |
35 | | - <i class="d-inline-block fa fa-angle-left me-1 small"/><t t-out="_forum_name"/> |
36 | | - </a> |
37 | | - </div> |
38 | | - <div class="d-lg-none col-2 text-end"> |
39 | | - <button class="btn position-relative ms-auto fs-5" data-bs-toggle="offcanvas" data-bs-target="#o_wforum_offcanvas"> |
40 | | - <i class="fa fa-navicon"/> |
41 | | - </button> |
42 | | - </div> |
| 32 | + <div class="o_wforum_breadcrumb_root_single d-flex align-items-center mb-2"> |
| 33 | + <a t-attf-href="/forum/#{ _forum_slug }"> |
| 34 | + <i class="d-inline-block fa fa-angle-left me-2 small"/><t t-out="_forum_name"/> |
| 35 | + </a> |
| 36 | + <button class="btn d-lg-none position-relative ms-auto p-2" data-bs-toggle="offcanvas" data-bs-target="#o_wforum_offcanvas"> |
| 37 | + <span class="navbar-toggler-icon"/> |
| 38 | + </button> |
43 | 39 | </div> |
44 | 40 | <div class="d-flex gap-2 align-items-baseline"> |
45 | 41 | <h1 t-attf-class="col-lg-10 my-0 h3" t-out="question.name"/> |
|
71 | 67 | </t> |
72 | 68 | <t t-elif="_page_name == 'list_questions' or is_edit"> |
73 | 69 | <t t-set="target" t-value="post.parent_id if is_answer else post"/> |
74 | | - <div class="o_wforum_breadcrumb_root_list_or_edit d-flex"> |
75 | | - <h1 t-if="breadcrumb_kind=='base'" class="col-10 col-lg flex-grow-1 fs-5"> |
76 | | - <span t-if="not is_edit" class="fw-bold mb-0" t-out="_forum_name"/> |
| 70 | + <div class="o_wforum_breadcrumb_root_list_or_edit d-flex align-items-center"> |
| 71 | + <h1 t-if="breadcrumb_kind=='base'" class="col-10 col-lg flex-grow-1 mb-0 h4"> |
| 72 | + <span t-if="not is_edit" class="mb-0" t-out="_forum_name"/> |
77 | 73 | <span t-elif="not is_answer" class="fw-bold mb-0">Edit Question</span> |
78 | 74 | <span t-else="is_answer" class="fw-bold mb-0">Edit Answer</span> |
79 | 75 | </h1> |
80 | 76 | </div> |
81 | 77 | </t> |
82 | | - <ol t-else="" class="breadcrumb col-10 col-lg flex-grow-1 flex-nowrap my-0 p-0 fs-5"> |
83 | | - <li class="o_wforum_breadcrumb_root breadcrumb-item text-nowrap text-truncatet"> |
84 | | - <h1 class="m-0 fw-normal d-inline h4-fs"> |
| 78 | + <ol t-else="" class="breadcrumb col-10 col-lg flex-grow-1 flex-nowrap my-0 p-0"> |
| 79 | + <li class="o_wforum_breadcrumb_root breadcrumb-item text-nowrap text-truncate"> |
| 80 | + <h1 class="m-0 fw-normal d-inline h6"> |
85 | 81 | <a t-attf-href="/forum/#{ _forum_slug }" t-out="_forum_name"/> |
86 | 82 | </h1> |
87 | 83 | </li> |
88 | 84 | <li t-if="queue_type" class="breadcrumb-item text-nowrap d-none d-lg-flex"> |
89 | 85 | <span>Moderation</span> |
90 | 86 | </li> |
91 | | - <li class="breadcrumb-item text-nowrap text-truncate"> |
92 | | - <span class="fw-bold text-truncate" t-out="_page_name_label"/> |
| 87 | + <li class="breadcrumb-item text-nowrap text-truncate active"> |
| 88 | + <span class="text-truncate" t-out="_page_name_label"/> |
93 | 89 | </li> |
94 | 90 | </ol> |
95 | 91 | <t t-if="_page_name != 'single_question'"> |
96 | | - <div class="d-lg-none text-end"> |
97 | | - <button class="btn position-relative ms-auto fs-5" data-bs-toggle="offcanvas" data-bs-target="#o_wforum_offcanvas"> |
98 | | - <i class="fa fa-navicon"/> |
| 92 | + <div class="d-lg-none"> |
| 93 | + <button class="btn position-relative ms-auto p-2" data-bs-toggle="offcanvas" data-bs-target="#o_wforum_offcanvas"> |
| 94 | + <span class="navbar-toggler-icon"/> |
99 | 95 | </button> |
100 | 96 | </div> |
101 | 97 | <div t-if="tag or tags or search or question_count or page_name or website_forum_action" t-attf-class="d-flex justify-content-lg-end gap-2 flex-grow-1 flex-wrap flex-md-nowrap w-100 w-lg-auto #{'mw-xl-75' if search else 'mw-xl-50'}"> |
|
219 | 215 | <t t-call="website_forum.user_sidebar"/> |
220 | 216 | <t t-call="website_forum.user_sidebar_mobile"/> |
221 | 217 | <div class="o_wforum_content_wrapper col-lg-9"> |
222 | | - <div class="o_wprofile_email_validation_container d-flex flex-column justify-content-center mb-3 mb-lg-5 pt-2 pt-lg-3"> |
| 218 | + <div class="o_wprofile_email_validation_container d-flex flex-column justify-content-center mb-3 mb-lg-5 mt-4"> |
223 | 219 | <t t-call="website_profile.email_validation_banner"> |
224 | 220 | <t t-set="redirect_url" t-value="'/forum/%s' % forum.id if forum else '/forum/all/'"/> |
225 | 221 | <t t-set="additional_validation_email_message"> and join this Forum</t> |
|
0 commit comments