mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-23 13:52:13 -06:00
[16.0][FIX] document_url: Add URL button and paperclip button
This commit is contained in:
committed by
Franco Leyes
parent
364c49efb6
commit
6bc0ba5225
@@ -22,7 +22,7 @@
|
||||
<button
|
||||
type="button"
|
||||
class="o_add_url_button btn btn-link"
|
||||
t-on-click="_onAddUrl"
|
||||
t-on-click="attachmentBoxView._onAddUrl"
|
||||
>
|
||||
<i class="fa fa-plus-square" />
|
||||
Add URL
|
||||
@@ -70,4 +70,16 @@
|
||||
</a>
|
||||
</xpath>
|
||||
</t>
|
||||
<t t-inherit="mail.ChatterTopbar" t-inherit-mode="extension" owl="1">
|
||||
<xpath
|
||||
expr="//button[hasclass('o_ChatterTopbar_buttonAddAttachments')]"
|
||||
position="replace"
|
||||
/>
|
||||
<xpath
|
||||
expr="//button[hasclass('o_ChatterTopbar_buttonToggleAttachments')]"
|
||||
position="attributes"
|
||||
>
|
||||
<attribute name="t-if" />
|
||||
</xpath>
|
||||
</t>
|
||||
</templates>
|
||||
|
||||
Reference in New Issue
Block a user