Search 1.9 billion lines of Odoo code on GitHub

website_mail_snippet_responsive

Author: Antiun Ingeniería S.L., Odoo Community Association (OCA)
License: AGPL-3
Branch: 8.0
Repository: 2FM/social
Dependencies: website, website_mail, and website_mail_snippet_vertical_resize_base
Languages: PO File (2525, 76.7%), Python (40, 1.2%), XML (651, 19.8%), and reStructuredText (78, 2.4%)
Other repositories: ACCOMODATA-BVBA/social, AITIC/social, AMhadhbi/social, AdriaGForgeFlow/social, Alfa-90/social, Antiun/social, BADEP/social, BT-fgarbely/social, BT-scchmid-test/social, BeopenMX/social, Bubbles-IT/social, CB-Gran-Canaria/social, Callino/social, Change2improve/social, ClearCorp/oca-social, Digital5-Odoo/social, Dobtor-OCA/social, DucTruongKomit/social, ERPLibre/social, ForgeFlow/social, Gabinete-Digital/social, Glue-Software-Engineering-AG/social, Gofekra/social, Hasnur/social, ICTSTUDIO/social, ITISAG-OCA/social, Ingeos/social, Jarsa/social, JazziMc/social, Judystudy/social, KasunDA/social, Kiplangatdan/social, KomarovAlea/social, LasLabs/social, MadsackMediaStore/social, MathBenTech/social, MediaJockey/social, NL66278/social, NeatNerdPrime/social, NextERP-Romania/social, Nooka10/social, OCA-MUK/social, OCA/social, ORETEK/social, OpencloudPro/social, QubiQ/social, RLeeOSI/social, Rad0van/social, SDIsl/social, SanteLibre/social, SequarSrl/social, SeuMarco/social, SimoRubi/social, SolutionSeekers/social, StefanRijnhart/social, Studio73/social, Syci-Consulting/social, TDu/social, TRESCLOUD/social, Tecnativa/social, Tonow-c2c/social, Vauxoo/social, VisiionSolucionesTecnologicas/social, VitalPet/social, YogeshMahera-SerpentCS/social, a0c/social, aaltinisik/social, acsone/social, adhoc-dev/social, adolfoeliazat/social, adrienpeiffer/social, agenterp/social, agenterpgmbh/social, agrista/odoo-social, ajaniszewska-dev/social, akretion/social, alexlafalce/social, anderswallenquist/social, anhvu-sg/social, ansinaesmejor/social, antonyrajserpentcs/social, anybox/social, apachesep/social, apertoso/social, apetbiz/social, archetipo/social, aryajimbaran/social, auditum-lko/social, aurestic/social, avoinsystems/social, ayush5198/social, bealdav/social, bishalgit/social, bitroniq/social, brain-tec/social, brainbeanapps/social, camptocamp/social, cedvict/social, celm1990/social, chacatico/social, cocox/social, codewr/social, coopiteasy/social, crnd-inc/social, cunguito/social, dajuayen/social, damcar/social, daramousk/social, ddico/social, denislour/social, dev00007/social, dgzurita/social, diagramsoftware/social, diegobgl/social, diggy128/social, dndoanh/social, dozymoe/social, dreispt/social, druidoo-dev/social, eLBati/social, eezee-it/social, elmeknouni/social, elvirekemajou/social, emagdalenaC2i/social, ermannognan/social, ernestotejeda/social, eslammohamed13/social, etobella/social, eugentaga/social, exosoftware/oca-social, extrememicro/social, fmdl/social, focusate/oca-social, gab-net/social, garzadekoster/social, gfcapalbo/social, git-service-it-ar/social, grindtildeath/social, gurneyalex/social, haroldtamo/social, hbrunn/social, hibou-io/oca-social, hinfo506/social, i-vyshnevska/social, iRichGit/social, igallart/social, iledarn/social, imranissufo/social, incaser/social, inforconseil/social, inspiredbusiness/social, isos/social, jacky82669513/social, jerrodmartin/social, jobiols/oca-social, kevin070982/social, kryskool/social, legalsylvain/social, leonidaspe/social, leonidasthe300/social, lesdekock/social, lfreeke/social, lincersolucoes/oca-social, logicasoftadmin/social, manuelcalerosolis/social, marcozink/social, marionumza/social, markrobinson85/social, masiunas/social, mavs2011bs/social, mgielissen/social, minhyk/social, mjadily/social, modoolar/social, molandtoxx/social, moltisinc/social, mozaik-association/social, mpanarin/social, myceliandre/social, nilshamerlinck/social, niulinlnc/social, noorealam96/social, odoobgorg/OCA-social, odoogap/social, odoonz/social, ontruck/social, open-synergy/social, osfp-Pakistan/social, osiell/social, p-tombez/social, paulius-sladkevicius/social, pegonzalezspesol/social, phucngta/social, popama/social, pscloud/social, publidex/social, redblow/social, redcor/social, rlizana/social, rossasa/social, rsullivan2704/social, rubensben/social, ruuter/social, sadeqamin/social, sanube/social, savoirfairelinux/social, scbrianti/social, semamca35/social, sergiocorato/social, serpentcs-dev1/social, sewisoft/social, shiram/social, simahawk/social, skeller1/social, solarprocurement/social, spitronello/social, sschmid-test-org/social, steingabelgaard/social, sunflowerit/social, sygel-technology/social, tafaRU/social, takinobori/oca-social, takobi-online/social, tansadio/social, tbaden/social, tegin/social, tfossoul/social, thinkopensolutions/oca-social, thinkwelltwd/social, thomaspot/social, tirma-sa/social, tosink/social, tpalan/social, tpxxx/social, tschanzt/social, ubic135/social, ursais/social, valmarnet/social, vcloud9ray/social, versada/social, wahhid/social, westlyou/social, x0rzkov/odoo-social, xavidj/social, xcgd/social, xduran/social, xpansa/social, y2gsmith/social, yusniermatos/social, zestsoftware/social, and zmakrelouf/social

<a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.svg"> </a> <a name="responsive-layout-snippets-for-writing-emails"></a> <h2>Responsive Layout Snippets for Writing Emails</h2> <p>This module extends the functionality of the website mail designer to support a responsive layout and allow you to read those mails comfortably in a mobile mail client.</p> <p>Well... actually this is not really responsive. It is pseudo-responsive. Responsiveness in current mail clients is years behind browsers', so these templates are very verbose to ensure compatibility in most scenarios. Ideas are taken from <a class="reference external" href="https://css-tricks.com/ideas-behind-responsive-emails/">https://css-tricks.com/ideas-behind-responsive-emails/</a>.</p> <a name="installation"></a> <h3>Installation</h3> <p>This module is prepared to be compatible with module <code>website_mail_bg_color</code>. If you install it, you will be able to change snippets' background colors, but it is not required.</p> <a name="configuration"></a> <h3>Configuration</h3> <p>To change the default background color for buttons:</p> <ul class="simple"> <li>Go to <em>Settings &gt; Configuration &gt; Website Settings &gt; Mail &gt; Mail button color</em>.</li> <li>Input <a class="reference external" href="https://www.w3.org/TR/CSS2/syndata.html#value-def-color">any valid CSS2 color value</a>.</li> </ul> <a name="usage"></a> <h3>Usage</h3> <p>To use this module, you need to:</p> <ol class="arabic simple"> <li>Install any module that makes use of the website mail designer, such as <code>mass_mailing</code>.</li> <li>Edit an email with the website mail designer.</li> <li>You have a new collection of snippets under <em>Email Design</em> section. Use them as usual.</li> </ol> <p>If you choose the <em>Horizontal Separator</em> snippet, you will be able to set its height too. For that, you will have to aim carefully to click inside the green line, and then use the option that will float above it.</p> <a class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/205/8.0"><img alt="Try me on Runbot" src="https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas" /></a> <a name="known-issues-roadmap"></a> <h3>Known issues / Roadmap</h3> <ul> <li><p class="first">Snippet is ugly, but that's because mail client HTML engines usually lack many of the modern CSS and HTML features. I hope we will be able to improve this as mail clients keep improving.</p> </li> <li><p class="first">To set the <em>Horizontal Separator</em> height, you have to click inside it, which will insert a <code>&lt;br type=&quot;_moz&quot;/&gt;</code> in Firefox, that will make it seem like its height is at least like a caret, even if you set a lower value. Do not worry, it goes away when you press <em>Save</em>.</p> </li> <li><p class="first">Some elements do not render with the proper width in MS Outlook. This should be added inside each snippet to make them work:</p> <pre> <code>&lt;!--[if gte mso]&gt; &lt;style type=&quot;text/css&quot;&gt; .fluid { width: 600px !important; } &lt;/style&gt; &lt;![endif]--&gt;</code> </pre> <p>But right now the view parser eats comments, and if you avoid that then CKEditor will eat them, so there's not an easy solution for now.</p> </li> </ul> <a name="bug-tracker"></a> <h3>Bug Tracker</h3> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/social/issues">GitHub Issues</a>. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed <a class="reference external" href="https://github.com/OCA/social/issues/new?body=module:%20website_mail_snippet_responsive%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> <a name="credits"></a> <h3>Credits</h3> <a name="images"></a> <h4>Images</h4> <ul class="simple"> <li>Odoo Community Association: <a class="reference external" href="https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg">Icon</a>.</li> </ul> <a name="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li>Daniel Gómez-Zurita &lt;<a class="reference external" href="mailto:danielgz&#64;antiun.com">danielgz&#64;antiun.com</a>&gt;</li> <li>Rafael Blasco &lt;<a class="reference external" href="mailto:rafabn&#64;antiun.com">rafabn&#64;antiun.com</a>&gt;</li> <li>Jairo Llopis &lt;<a class="reference external" href="mailto:yajo.sk8&#64;gmail.com">yajo.sk8&#64;gmail.com</a>&gt;</li> </ul> <a name="maintainer"></a> <h4>Maintainer</h4> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>This module is maintained by the OCA.</p> <p>OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.</p> <p>To contribute to this module, please visit <a class="reference external" href="https://odoo-community.org">https://odoo-community.org</a>.</p>