Skip to content

Commit

Permalink
[IMP] dms: Change portal_my_home_dms to use its own div
Browse files Browse the repository at this point in the history
  • Loading branch information
victoralmau committed Oct 10, 2024
1 parent ead32c2 commit 5aab9b5
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions dms/template/portal.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,19 @@
inherit_id="portal.portal_my_home"
priority="20"
>
<xpath expr="//div[hasclass('o_portal_docs')]" position="before">
<t t-set="portal_client_category_enable" t-value="True" />
</xpath>
<xpath expr="//div[@id='portal_client_category']" position="inside">
<t t-call="portal.portal_docs_entry">
<t t-set="title">Documents</t>
<t t-set="text" t-value="'Manage your documents'" />
<t t-set="url" t-value="'/my/dms'" />
<t t-set="icon" t-value="'/dms/static/description/portal_icon.svg'" />
<t t-set="placeholder_count" t-value="'dms_directory_count'" />
</t>
<xpath expr="//div[@id='portal_client_category']" position="after">
<div class="o_portal_dms row g-2 mt-3" id="portal_dms_category">
<t t-call="portal.portal_docs_entry">
<t t-set="title">Documents</t>
<t t-set="text" t-value="'Manage your documents'" />
<t t-set="url" t-value="'/my/dms'" />
<t
t-set="icon"
t-value="'/dms/static/description/portal_icon.svg'"
/>
<t t-set="placeholder_count" t-value="'dms_directory_count'" />
</t>
</div>
</xpath>
</template>
<template
Expand Down

0 comments on commit 5aab9b5

Please sign in to comment.