summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.editor.xml
diff options
context:
space:
mode:
authorBenjamin Vray <bvr@odoo.com>2020-07-23 09:05:01 +0000
committerBenjamin Vray <bvr@odoo.com>2020-07-23 09:12:12 +0000
commit2458098f606931a845b5acbe0aa9ede89a6a94c3 (patch)
tree50d8eac3a3d43e97827edf56503c7fe99e8768da /addons/website/static/src/xml/website.editor.xml
parent167e70347b9ebc1e591fcf1c2ed0ecfa106d88ab (diff)
[IMP] website: ease google font selection
Before this commit users needs to link an embed code provided by Google. But it became less obvious to find this code so we now ask for the link of the font page. But we still keep the possibility to link an embed code if ever a user is wrong. task-2304075 closes odoo/odoo#54816 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/website/static/src/xml/website.editor.xml')
-rw-r--r--addons/website/static/src/xml/website.editor.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/website/static/src/xml/website.editor.xml b/addons/website/static/src/xml/website.editor.xml
index f024202d523..e3e0ac82810 100644
--- a/addons/website/static/src/xml/website.editor.xml
+++ b/addons/website/static/src/xml/website.editor.xml
@@ -58,12 +58,12 @@
<!-- Add a Google Font option dialog -->
<div t-name="website.dialog.addGoogleFont">
<div class="form-group row">
- <label class="col-form-label col-md-3" for="google_font_html">Google Font HTML</label>
+ <label class="col-form-label col-md-3" for="google_font_html">Google font page link</label>
<div class="col-md-9">
<textarea id="google_font_html" class="form-control o_input_google_font"
- placeholder="&lt;link href='https://fonts.googleapis.com/css?family=Bonbon&amp;display=swap' rel='stylesheet'&gt;" style="height: 100px;"/>
+ placeholder="https://fonts.google.com/specimen/Roboto" style="height: 100px;"/>
<span class="float-right text-muted">
- Select one font on <a target="_blank" href="https://fonts.google.com">fonts.google.com</a> and copy paste the embed code here.
+ Select one font on <a target="_blank" href="https://fonts.google.com">fonts.google.com</a> and copy paste the font page link here.
</span>
</div>
</div>