diff options
| author | Benjamin Vray <bvr@odoo.com> | 2020-07-23 09:05:01 +0000 |
|---|---|---|
| committer | Benjamin Vray <bvr@odoo.com> | 2020-07-23 09:12:12 +0000 |
| commit | 2458098f606931a845b5acbe0aa9ede89a6a94c3 (patch) | |
| tree | 50d8eac3a3d43e97827edf56503c7fe99e8768da /addons/website/static/src/xml/website.editor.xml | |
| parent | 167e70347b9ebc1e591fcf1c2ed0ecfa106d88ab (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.xml | 6 |
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="<link href='https://fonts.googleapis.com/css?family=Bonbon&display=swap' rel='stylesheet'>" 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> |
