@@ -369,10 +369,11 @@ <h1 class="title">Web URL widget advanced</h1>
369369!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370370!! source digest: sha256:3596008f4a705be27d5f63123a0330ad2e83c021846d6fe34e6007e82d5988fe
371371!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372- < p > < a class ="reference external image-reference " href ="https://odoo-community.org/page/development-status "> < img alt ="Beta " src ="https://img.shields.io/badge/maturity-Beta-yellow.png " /> </ a > < a class ="reference external image-reference " href ="http://www.gnu.org/licenses/lgpl-3.0-standalone.html "> < img alt ="License: LGPL-3 " src ="https://img.shields.io/badge/licence-LGPL--3-blue.png " /> </ a > < a class ="reference external image-reference " href ="https://github.com/OCA/web/tree/17.0/web_widget_url_advanced "> < img alt ="OCA/web " src ="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github " /> </ a > < a class ="reference external image-reference " href ="https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_widget_url_advanced "> < img alt ="Translate me on Weblate " src ="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png " /> </ a > < a class ="reference external image-reference " href ="https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=17.0 "> < img alt ="Try me on Runboat " src ="https://img.shields.io/badge/runboat-Try%20me-875A7B.png " /> </ a > </ p >
373- < p > Extend URL widget features to ease customization of anchor’s text.</ p >
374- < p > By default, the URL widget will show the plain URL. You can specify an
375- attribute to provide a static label too.</ p >
372+ < p > < a class ="reference external image-reference " href ="https://odoo-community.org/page/development-status "> < img alt ="Beta " src ="https://img.shields.io/badge/maturity-Beta-yellow.png " /> </ a > < a class ="reference external image-reference " href ="http://www.gnu.org/licenses/lgpl-3.0-standalone.html "> < img alt ="License: LGPL-3 " src ="https://img.shields.io/badge/licence-LGPL--3-blue.png " /> </ a > < a class ="reference external image-reference " href ="https://github.com/OCA/web/tree/18.0/web_widget_url_advanced "> < img alt ="OCA/web " src ="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github " /> </ a > < a class ="reference external image-reference " href ="https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_widget_url_advanced "> < img alt ="Translate me on Weblate " src ="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png " /> </ a > < a class ="reference external image-reference " href ="https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=18.0 "> < img alt ="Try me on Runboat " src ="https://img.shields.io/badge/runboat-Try%20me-875A7B.png " /> </ a > </ p >
373+ < p > Extend URL, CopyClipboardURL widget features to ease customization of
374+ anchor’s text.</ p >
375+ < p > By default, the URL, CopyClipboardURL widget will show the plain URL.
376+ You can specify an attribute to provide a static label too.</ p >
376377< p > With this module, you can use a field for link’s inner text using
377378attribute ‘text_field’. You can also add a prefix to the link using
378379attribute ‘prefix_name’.</ p >
@@ -393,9 +394,9 @@ <h1 class="title">Web URL widget advanced</h1>
393394</ div >
394395< div class ="section " id ="usage ">
395396< h1 > < a class ="toc-backref " href ="#toc-entry-1 "> Usage</ a > </ h1 >
396- < p > Use url widget as you do usually, then add an extra parameter text_field
397- to indicate which field (present in the view already) must be used for
398- the anchor text.</ p >
397+ < p > Use url, CopyClipboardURL widget as you do usually, then add an extra
398+ parameter text_ field to indicate which field (present in the view
399+ already) must be used for the anchor text.</ p >
399400< pre class ="code xml literal-block ">
400401< span class ="nt "> <field</ span > < span class ="w "> </ span > < span class ="na "> name=</ span > < span class ="s "> "some_url"</ span > < span class ="w "> </ span > < span class ="na "> widget=</ span > < span class ="s "> "url"</ span > < span class ="w "> </ span > < span class ="na "> text_field=</ span > < span class ="s "> "another_field"</ span > < span class ="w "> </ span > < span class ="nt "> /></ span >
401402</ pre >
@@ -406,9 +407,9 @@ <h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
406407< span class ="nt "> <field</ span > < span class ="w "> </ span > < span class ="na "> name=</ span > < span class ="s "> "website"</ span > < span class ="w "> </ span > < span class ="na "> widget=</ span > < span class ="s "> "url"</ span > < span class ="w "> </ span > < span class ="na "> text_field=</ span > < span class ="s "> "name"</ span > < span class ="w "> </ span > < span class ="na "> placeholder=</ span > < span class ="s "> "e.g. www.odoo.com"</ span > < span class ="nt "> /></ span >
407408</ pre >
408409< p > This is going to change the rendering from</ p >
409- < p > < img alt ="image1 " src ="https://raw.githubusercontent.com/OCA/web/17 .0/web_widget_url_advanced/static/description/before.png " /> </ p >
410+ < p > < img alt ="image1 " src ="https://raw.githubusercontent.com/OCA/web/18 .0/web_widget_url_advanced/static/description/before.png " /> </ p >
410411< p > to</ p >
411- < p > < img alt ="image2 " src ="https://raw.githubusercontent.com/OCA/web/17 .0/web_widget_url_advanced/static/description/after.png " /> </ p >
412+ < p > < img alt ="image2 " src ="https://raw.githubusercontent.com/OCA/web/18 .0/web_widget_url_advanced/static/description/after.png " /> </ p >
412413< p > Or user can add any hyperlink text using ‘prefix_name’ attribute</ p >
413414< pre class ="code xml literal-block ">
414415< span class ="nt "> <field</ span > < span class ="w "> </ span > < span class ="na "> name=</ span > < span class ="s "> "skype_name"</ span > < span class ="w "> </ span > < span class ="na "> widget=</ span > < span class ="s "> "url"</ span > < span class ="w "> </ span > < span class ="na "> prefix_name=</ span > < span class ="s "> "skype"</ span > < span class ="nt "> /></ span >
@@ -423,7 +424,7 @@ <h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
423424< p > Bugs are tracked on < a class ="reference external " href ="https://github.com/OCA/web/issues "> GitHub Issues</ a > .
424425In case of trouble, please check there if your issue has already been reported.
425426If you spotted it first, help us to smash it by providing a detailed and welcomed
426- < a class ="reference external " href ="https://github.com/OCA/web/issues/new?body=module:%20web_widget_url_advanced%0Aversion:%2017 .0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior** "> feedback</ a > .</ p >
427+ < a class ="reference external " href ="https://github.com/OCA/web/issues/new?body=module:%20web_widget_url_advanced%0Aversion:%2018 .0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior** "> feedback</ a > .</ p >
427428< p > Do not contact contributors directly about support or help with technical issues.</ p >
428429</ div >
429430< div class ="section " id ="credits ">
@@ -447,6 +448,10 @@ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
447448< li > Joan Sisquella << a class ="reference external " href ="mailto:joan.sisquella@forgeflow.com "> joan.sisquella@forgeflow.com</ a > ></ li >
448449< li > Peerapong Supasompob << a class ="reference external " href ="mailto:peerapong.supasompob@gmail.com "> peerapong.supasompob@gmail.com</ a > ></ li >
449450< li > Nedas Žilinskas << a class ="reference external " href ="mailto:nedas.zilinskas@avoin.systems "> nedas.zilinskas@avoin.systems</ a > ></ li >
451+ < li > < a class ="reference external " href ="https://komit-consulting.com "> Komit</ a > :< ul >
452+ < li > Vang Nguyen Phu</ li >
453+ </ ul >
454+ </ li >
450455</ ul >
451456</ div >
452457< div class ="section " id ="maintainers ">
@@ -458,7 +463,7 @@ <h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
458463< p > OCA, or the Odoo Community Association, is a nonprofit organization whose
459464mission is to support the collaborative development of Odoo features and
460465promote its widespread use.</ p >
461- < p > This module is part of the < a class ="reference external " href ="https://github.com/OCA/web/tree/17 .0/web_widget_url_advanced "> OCA/web</ a > project on GitHub.</ p >
466+ < p > This module is part of the < a class ="reference external " href ="https://github.com/OCA/web/tree/18 .0/web_widget_url_advanced "> OCA/web</ a > project on GitHub.</ p >
462467< p > You are welcome to contribute. To learn how please visit < a class ="reference external " href ="https://odoo-community.org/page/Contribute "> https://odoo-community.org/page/Contribute</ a > .</ p >
463468</ div >
464469</ div >
0 commit comments