| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<templates id="template" xml:space="preserve"> |
| 3 |
<!-- |
| 4 |
Popup Rating Composer Widget |
| 5 |
It can also be used to modify a message |
| 6 |
--> |
| 7 |
<t t-name="portal_rating.PopupComposer"> |
| 8 |
<div t-if="widget.options['display_composer']" class="modal fade" id="ratingpopupcomposer" tabindex="-1" role="dialog" aria-labelledby="ratingpopupcomposerlabel" aria-hidden="true"> |
| 9 |
<div class="modal-dialog" role="document"> |
| 10 |
<div class="modal-content bg-white"> |
| 11 |
<div class="modal-header"> |
| 12 |
<span class="modal-title o_rating_popup_composer_label h5-fs" id="ratingpopupcomposerlabel"> |
| 13 |
<t t-if="widget.options['default_message_id']"> |
| 14 |
Modify your review |
| 15 |
</t> |
| 16 |
<t t-else=""> |
| 17 |
Write a review |
| 18 |
</t> |
| 19 |
</span> |
| 20 |
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> |
| 21 |
</div> |
| 22 |
<div class="modal-body"> |
| 23 |
<div class="o_portal_chatter_composer"/> |
| 24 |
</div> |
| 25 |
</div> |
| 26 |
</div> |
| 27 |
</div> |
| 28 |
</t> |
| 29 |
</templates> |