Skip to content

Commit

Permalink
Merge PR OCA#374 into 17.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Oct 29, 2024
2 parents d2c5de1 + 5aab9b5 commit 4e6cb3a
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 4e6cb3a

Please sign in to comment.