diff options
| author | qmo-odoo <qmo@odoo.com> | 2019-05-02 13:55:55 +0000 |
|---|---|---|
| committer | qmo-odoo <qmo@odoo.com> | 2019-05-13 12:03:03 +0000 |
| commit | bb36977c364e8e4bcd65f57949705a7590554ac9 (patch) | |
| tree | c7f3181de5005b8ea9eebe29f26471a525306acb /addons/website_slides_forum/static/src/xml | |
| parent | c07dc6e022ac38d54356899e438038119c7dfae1 (diff) | |
[IMP] website_slides: Improve new course modal
This commit changes the presentation of the "Create new course"
modal so that it is closer to what we have in backend
task id: 1978734
closes: #33119
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/website_slides_forum/static/src/xml')
| -rw-r--r-- | addons/website_slides_forum/static/src/xml/website_slides_forum_channel.xml | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/addons/website_slides_forum/static/src/xml/website_slides_forum_channel.xml b/addons/website_slides_forum/static/src/xml/website_slides_forum_channel.xml index f00c7e4e0ba..bb502660d72 100644 --- a/addons/website_slides_forum/static/src/xml/website_slides_forum_channel.xml +++ b/addons/website_slides_forum/static/src/xml/website_slides_forum_channel.xml @@ -1,15 +1,13 @@ <?xml version="1.0" encoding="UTF-8"?> <templates xml:space="preserve"> <t t-extend="website.slide.channel.create"> - <t t-jquery=".o_wslide_channel_communication_type" t-operation="after"> - <div class="form-group row"> - <div class="col-sm-2">Communication</div> - <div class="col-sm-10"> - <div class="form-check"> - <input class="form-check-input" type="checkbox" id="link_forum" name="link_forum"/> - <label class="form-check-label" for="link_forum">Create a Forum</label> - </div> - </div> + <t t-jquery="#communication-label" t-operation="replace"> + <label id="communication-label" class="col-sm-3">Communication</label> + </t> + <t t-jquery=".o_wslide_channel_communication_type" t-operation="append"> + <div class="form-check"> + <input class="form-check-input" type="checkbox" id="link_forum" name="link_forum"/> + <span class="form-check-label" for="link_forum">Create a Forum</span> </div> </t> </t> |
