Template:Thank You 2018: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
add class to survey links
don't show survey link if no survey code provided
Line 684: Line 684:
</p>
</p>
</div><!--ty-area-->
</div><!--ty-area-->
</html>{{#if:{{{survey-code|}}}|<html>
<div class="ty-area" id="ty-survey">
<div class="ty-area" id="ty-survey">
<h4>
<h4>
<a href="https://www.surveymonkey.com/r/</html>{{#if:{{{survey-code|}}}|{{{survey-code}}}|V29TN85}}<html>" title="</html>{{{survey-header}}}<html>" class="ty-action ty-survey-link">
<a href="https://www.surveymonkey.com/r/</html>{{{survey-code}}}<html>" title="</html>{{{survey-header}}}<html>" class="ty-action ty-survey-link">
</html>{{{survey-header}}}<html>
</html>{{{survey-header}}}<html>
</a>
</a>
</h4>
</h4>
<a href="https://www.surveymonkey.com/r/</html>{{#if:{{{survey-code|}}}|{{{survey-code}}}|V29TN85}}<html>" title="</html>{{{survey-header}}}<html>" class="ty-survey-link">
<a href="https://www.surveymonkey.com/r/</html>{{{survey-code}}}<html>" title="</html>{{{survey-header}}}<html>" class="ty-survey-link">
<svg class="ty-icon ty-icon-survey" role="img" aria-labelledby="ty-icon-survey-title" width="200" height="200" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><title id="ty-icon-survey-title"></html>{{{survey-header}}}<html></title><g fill="none" fill-rule="evenodd"><g stroke="#54595D" stroke-width="2" transform="translate(28 4)"><rect fill="#FFF" y="19" width="144" height="172" rx="2.624"/><path d="M54.175 11.18C55.401 4.862 62.915 0 72 0c9.037 0 16.518 4.81 17.804 11.077L116.987 11A8.988 8.988 0 0 1 126 19.986V26.9a2.1 2.1 0 0 1-2.1 2.1H20.1a2.1 2.1 0 0 1-2.1-2.1v-6.758a8.884 8.884 0 0 1 8.858-8.884l27.317-.078z" fill="#EAECF0"/></g><path stroke="#3a25ff" stroke-width="6.298" stroke-linecap="round" stroke-linejoin="round" d="M71 107.675L89.648 129 129 84"/></g></svg>
<svg class="ty-icon ty-icon-survey" role="img" aria-labelledby="ty-icon-survey-title" width="200" height="200" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><title id="ty-icon-survey-title"></html>{{{survey-header}}}<html></title><g fill="none" fill-rule="evenodd"><g stroke="#54595D" stroke-width="2" transform="translate(28 4)"><rect fill="#FFF" y="19" width="144" height="172" rx="2.624"/><path d="M54.175 11.18C55.401 4.862 62.915 0 72 0c9.037 0 16.518 4.81 17.804 11.077L116.987 11A8.988 8.988 0 0 1 126 19.986V26.9a2.1 2.1 0 0 1-2.1 2.1H20.1a2.1 2.1 0 0 1-2.1-2.1v-6.758a8.884 8.884 0 0 1 8.858-8.884l27.317-.078z" fill="#EAECF0"/></g><path stroke="#3a25ff" stroke-width="6.298" stroke-linecap="round" stroke-linejoin="round" d="M71 107.675L89.648 129 129 84"/></g></svg>
</a>
</a>
Line 699: Line 700:
</span>
</span>
</p>
</p>
</div><!--ty-area-->
</div><!--#ty-survey-->
</html>}}<html>
<div class="ty-area" id="ty-store" style="display: none;"><!--only displayed in US/Canada, by code in //donate.wikimedia.org/wiki/MediaWiki:Common.js -->
<div class="ty-area" id="ty-store" style="display: none;"><!--only displayed in US/Canada, by code in //donate.wikimedia.org/wiki/MediaWiki:Common.js -->
<h4>
<h4>

Revision as of 14:46, 15 October 2019