Skip to content

Commit

Permalink
[MIG] document_hosting: Migration to 15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
victor-champonnois committed Jan 25, 2024
1 parent 56bcf92 commit 6848da5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion document_hosting/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
""",
"author": "Coop IT Easy SC",
"license": "AGPL-3",
"version": "14.0.1.0.0",
"version": "15.0.1.0.0",
"website": "https://github.com/coopiteasy/addons",
"category": "Document",
"depends": ["base", "web", "website", "mail"],
Expand Down
16 changes: 8 additions & 8 deletions document_hosting/views/document_hosting_website_templates.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
<t t-if="group['date_begin'] == date">
<li class="active">
<a t-att-href="default_url" t-ignore="True">
<t t-esc="group['name']" />
<t t-out="group['name']" />
<span
class="pull-right badge"
t-esc="group['item_count']"
t-out="group['item_count']"
/>
</a>
</li>
Expand All @@ -40,10 +40,10 @@
t-ignore="True"
t-attf-href="#{default_url}?date_begin=#{group['date_begin']}&amp;date_end=#{group['date_end']}"
>
<t t-esc="group['name']" />
<t t-out="group['name']" />
<span
class="pull-right badge"
t-esc="group['item_count']"
t-out="group['item_count']"
/>
</a>
</li>
Expand All @@ -64,12 +64,12 @@
<div class="list-group" t-foreach="documents" t-as="doc">
<a t-attf-href="/documents/{{doc.id}}" class="list-group-item clearfix">
<span class="fa fa-file" />
<t t-esc="doc.name" />
<t t-out="doc.name" />
-
<small t-field="doc.document_date" />
<span class="pull-right">
<span class="fa fa-download" />
<t t-esc="size_to_str(doc.file_size)" />
<t t-out="size_to_str(doc.file_size)" />
</span>
<t t-if="doc.description">
<p t-field="doc.description" class="mb0 small" />
Expand Down Expand Up @@ -100,11 +100,11 @@
t-attf-aria-controls="collapse-{{ cat.id }}"
>
<h4 class="panel-title">
<t t-esc="cat.name" />
<t t-out="cat.name" />
<t t-if="cat.description">
<small>
-
<t t-esc="cat.description" />
<t t-out="cat.description" />
</small>
</t>
</h4>
Expand Down

0 comments on commit 6848da5

Please sign in to comment.