changeset ebb05d8d8947 in www.tryton.org:default
details: https://hg.tryton.org/www.tryton.org?cmd=changeset&node=ebb05d8d8947
description:
Add link to Mastodon account
issue11470
diffstat:
static/images/icons.svg | 3 +++
templates/contribute.html | 1 +
templates/layout.html | 1 +
3 files changed, 5 insertions(+), 0 deletions(-)
diffs (35 lines):
diff -r e404778a99d3 -r ebb05d8d8947 static/images/icons.svg
--- a/static/images/icons.svg Sat May 14 10:02:50 2022 +0200
+++ b/static/images/icons.svg Sat May 14 10:18:58 2022 +0200
@@ -32,6 +32,9 @@
<symbol id="linkedin-box" viewBox="0 0 24 24">
<path d="M19 3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0
0 1 2-2h14m-.5 15.5v-5.3a3.26 3.26 0 0 0-3.26-3.26c-.85 0-1.84.52-2.32
1.3v-1.11h-2.79v8.37h2.79v-4.93c0-.77.62-1.4 1.39-1.4a1.4 1.4 0 0 1 1.4
1.4v4.93h2.79M6.88 8.56a1.68 1.68 0 0 0 1.68-1.68c0-.93-.75-1.69-1.68-1.69a1.69
1.69 0 0 0-1.69 1.69c0 .93.76 1.68 1.69 1.68m1.39 9.94v-8.37H5.5v8.37h2.77z"/>
</symbol>
+ <symbol id="mastodon" viewBox="0 0 24 24">
+ <path d="M21.258 13.99c-.274 1.41-2.456 2.955-4.962
3.254-1.306.156-2.593.3-3.965.236-2.243-.103-4.014-.535-4.014-.535 0
.218.014.426.04.62.292 2.215 2.196 2.347 4 2.41 1.82.062 3.44-.45 3.44-.45l.076
1.646s-1.274.684-3.542.81c-1.25.068-2.803-.032-4.612-.51-3.923-1.039-4.598-5.22-4.701-9.464-.031-1.26-.012-2.447-.012-3.44
0-4.34 2.843-5.611 2.843-5.611 1.433-.658 3.892-.935 6.45-.956h.062c2.557.02
5.018.298 6.451.956 0 0 2.843 1.272 2.843 5.61 0 0 .036 3.201-.397
5.424zm-2.956-5.087c0-1.074-.273-1.927-.822-2.558-.567-.631-1.308-.955-2.229-.955-1.065
0-1.871.41-2.405 1.228l-.518.87-.519-.87C11.276 5.8 10.47 5.39 9.405
5.39c-.921 0-1.663.324-2.229.955-.549.631-.822 1.484-.822
2.558v5.253h2.081V9.057c0-1.075.452-1.62 1.357-1.62 1 0 1.501.647 1.501
1.927v2.79h2.07v-2.79c0-1.28.5-1.927 1.5-1.927.905 0 1.358.545 1.358
1.62v5.1h2.08V8.902z"/>
+ </symbol>
<symbol id="netbsd" viewBox="0 0 24 24">
<path d="M18.85 2.178c-1.645.009-3.28.448-5.022.958-3.032.888-5.73
1.368-8.76.158l.826 1.442A5414.386 5414.386 0 0 0 7.63 7.771c2.412.668
4.41-.197 6.555-1.247 2.574-1.259 4.9-2.391
7.841-1.735-2.486-1.219-4.739-.917-7.338-.227 2.545-1.268 4.94-2.254
7.823-1.579a8.308 8.308 0 0 0-3.662-.805zM4.7 3.338a.271.271 0 0
0-.128.038c-.167.09-.08.258-.08.258l3.14 6.498h.76L4.845
3.43s-.04-.091-.145-.09zm12.366 6.23c-1.109 0-1.774.584-1.774 1.43.008.742.604
1.19 1.155 1.46.459.225 1.04.585 1.04 1.19 0 .375-.26.757-.826.757-.65
0-1.162-.69-1.315-1.176-.062-.082-.238-.074-.291.023 0 .509.1 1.048.245
1.213.16.09.596.284 1.3.284 1.155 0 1.927-.599 1.927-1.52
0-.823-.605-1.258-1.079-1.505l-.504-.262c-.383-.195-.696-.509-.696-.854
0-.374.275-.696.78-.696.55 0 .88.547 1.01.929.069.074.26.067.298-.023
0-.501-.077-.906-.138-1.07a1.847 1.847 0 0
1-.26-.06c-.306-.09-.62-.12-.872-.12zm-4.52.097c-.765
0-1.324.03-1.905.067-.115.008-.1.233-.03.27l.206.03c.321.038.336.12.336.876v2.644c0
.673-.045.726-.39.793l-.22.045c-.062.023-.062.217 0 .262.435-.015.81-.023
1.184-.023.222 0 .513.03.788.03.467 0 1.04-.022
1.522-.186.482-.165.902-.57.895-1.259-.008-.726-.52-1.115-1.125-1.242-.068-.016-.107-.038-.107-.06
0-.038.077-.068.153-.083.237-.06.78-.307.78-.936
0-.441-.199-.756-.527-.95-.337-.196-.826-.278-1.56-.278zm8.12 0c-.81
0-1.408.03-2.05.067-.092.008-.091.225-.015.263l.145.015c.352.037.367.18.367.89v2.652c0
.689-.045.74-.39.8l-.237.038c-.061.038-.061.217 0 .262.436-.015.826-.023
1.193-.023.276 0 .658.045 1.017.045.788 0 1.416-.097 1.936-.351.88-.427
1.368-1.236 1.368-2.24
0-.935-.55-1.819-1.552-2.17-.528-.188-1.155-.248-1.782-.248zm-20.601
0c-.077.023-.084.202-.03.262l.214.03c.267.053.382.128.435.255.054.105.054.225.054.636v1.902c0
.607-.03 1.168-.107 1.37-.069.157-.214.203-.42.248l-.13.022c-.062.06-.046.217
0 .262.29-.015.573-.023.856-.023.306 0 .612.008 1.025.023.046-.045.06-.202
0-.262l-.214-.03c-.199-.037-.375-.083-.444-.24-.084-.202-.115-.763-.115-1.37v-1.453c0-.277
0-.404.038-.479.138.113.398.42.834.959l1.767 2.14c.36.435.612.818.62.818.183 0
.397-.083.45-.172-.015-.248-.015-.72-.015-1.206v-1.79c0-.607.031-1.168.115-1.37.07-.157.214-.202.413-.247l.138-.023c.06-.06.046-.216
0-.261-.299.015-.574.022-.857.022-.314 0-.612-.008-1.025-.022-.045.045-.06.201
0 .261l.207.03c.206.038.374.083.443.24.084.203.115.764.115 1.37V12.6c0 .135 0
.263-.03.338-.176-.173-.39-.435-.735-.824l-.643-.741c-.688-.801-1.185-1.37-1.261-1.707a7.4
7.4 0 0 1-.642.022c-.314 0-.697-.008-1.056-.022zm12.51.345c.528 0
.942.322.942.973 0 .45-.245.861-.903.861-.398
0-.405-.015-.405-.21V10.4c0-.329.007-.39.367-.39zm8.083 0c1.384 0 2.111.8 2.111
2.148 0 1.019-.452 2.172-1.775 2.172-.275
0-.496-.067-.634-.217-.138-.158-.153-.427-.153-.839v-2.733c0-.232.008-.374.054-.434s.19-.097.397-.097zm-11.453.858a.19.19
0 0
0-.087.018c-.237.33-.428.486-.565.584-.184.12-.398.255-.635.337-.061.052-.038.202.046.232H8.2c.138
0 .146.015.146.173v1.668c0 .495.221.855.856.855.474 0 .888-.21
1.102-.435.015-.09-.031-.172-.108-.195a.637.637 0 0 1-.32.113c-.535
0-.536-.464-.536-.884v-1.122c0-.165.008-.173.107-.173h.689c.076-.045.099-.18.099-.262
0-.067-.023-.113-.061-.143h-.681c-.138
0-.145-.007-.145-.15v-.56c-.024-.038-.087-.055-.143-.056zm-2.49.662c-.956
0-1.651.733-1.651 1.677 0 .816.558 1.528 1.59 1.528a1.47 1.47 0 0 0
1.339-.855.172.172 0 0 0-.2-.171c-.206.344-.496.389-.71.389-.712
0-1.079-.547-1.079-1.109 0-.12.016-.134.192-.134h1.468c.237 0
.275-.105.275-.247 0-.577-.428-1.078-1.224-1.078zm-.053.344c.26 0
.405.165.405.413 0 .074-.015.148-.053.171a.623.623 0 0 1-.314.068h-.283c-.245
0-.351-.008-.351-.113 0-.24.275-.539.596-.539zm5.968.3c.734 0 1.117.456 1.117
1.108 0 .606-.299 1.033-.865 1.033-.596 0-.673-.367-.673-.95v-.884c0-.3
0-.308.42-.308zm-2.272 3.603l2.386
4.938s.24.464.756.208c.516-.257.257-.66.257-.66h-.001l-2.375-4.486h-1.023z"/>
</symbol>
diff -r e404778a99d3 -r ebb05d8d8947 templates/contribute.html
--- a/templates/contribute.html Sat May 14 10:02:50 2022 +0200
+++ b/templates/contribute.html Sat May 14 10:18:58 2022 +0200
@@ -82,6 +82,7 @@
<ul>
<li>Share your experiences on social networks and follow
Tryton on
<a href="https://twitter.com/TrytonSoftware">Twitter</a>,
+ <a href="https://fosstodon.org/@tryton">Mastodon</a>,
<a
href="https://www.facebook.com/TrytonSoftware/">Facebook</a>,
<a
href="https://www.linkedin.com/groups/1313967/">LinkedIn</a>,
etc.</li>
diff -r e404778a99d3 -r ebb05d8d8947 templates/layout.html
--- a/templates/layout.html Sat May 14 10:02:50 2022 +0200
+++ b/templates/layout.html Sat May 14 10:18:58 2022 +0200
@@ -156,6 +156,7 @@
<h2>Follow us</h2>
<a href="{{ url_for('news_rss') }}"
class="mr-3">{{ icon('rss-box', 36) }}<span class="sr-only">RSS</span></a>
<a
href="https://twitter.com/TrytonSoftware" target="_blank" rel="noopener"
class="mr-3">{{ icon('twitter-box', 36) }}<span
class="sr-only">Twitter</span></a>
+ <a href="https://fosstodon.org/@tryton"
target="_blank" rel="noopener" class="mr-3">{{ icon('mastodon', 36) }}<span
class="sr-only">Mastodon</span></a>
<a
href="https://www.facebook.com/TrytonSoftware/" target="_blank" rel="noopener"
class="mr-3">{{ icon('facebook-box', 36) }}<span
class="sr-only">Facebook</span></a>
<a
href="https://www.linkedin.com/groups/1313967" target="_blank" rel="noopener"
class="mr-3">{{ icon('linkedin-box', 36) }}<span
class="sr-only">LinkedIn</span></a>
<a
href="https://www.youtube.com/c/TrytonSoftware" target="_blank" rel="noopener"
class="mr-3">{{ icon('youtube', 36) }}<span class="sr-only">YouTube</span></a>