Skip to content

Commit

Permalink
Merge pull request #600 from thegreenwebfoundation/hs-directory-impro…
Browse files Browse the repository at this point in the history
…ve-listing-text

WIP: Rewrite “Help improve this listing” text in the Directory
  • Loading branch information
hanopcan committed Jul 9, 2024
2 parents 799e534 + 1f42126 commit 670c336
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 30 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<div class="flex items-center grow justify-end gap-2 text-right min-[520px]:block min-[520px]:grow-0 min-[520px]:text-center">

<p class="text-xs min-[520px]:mb-2">Be kind, we're still in</p>
<p class="text-xs min-[530px]:mb-2">🙏 Be kind, we're still in</p>
<p class="uppercase py-2 px-5 border-2 border-black rounded-3xl text-sm font-bold">beta</p>
<p class="text-xs min-[520px]:mt-2"><a href="https://www.thegreenwebfoundation.org/directory/">Previous Directory</a></p>

</div>

50 changes: 22 additions & 28 deletions apps/theme/templates/greencheck/partials/_directory_results.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,6 @@ <h4 class="inline-block mb-0 font-bold text-xl">
{% for service in obj.services.all %}
<li class="service-label inline-block">{{ service.name }}</li>
{% endfor %}

{% comment %}
Every host in our directory used to at least offer shared hosting.
Below is a placeholder to see how it would look with live data.
{% else %}
<li class="service-label inline-block">Compute: Shared Hosting for Websites</li>
{% endcomment %}
</ul>
{% endif %}

Expand Down Expand Up @@ -87,27 +80,28 @@ <h4 class="inline-block mb-0 font-bold text-xl">

</div>

{% if not obj.public_supporting_evidence and not obj.description %}
<details class="">
<summary class="text-right text-sm text-neutral-400">Help improve this listing</summary>

<p class="max-w-xs md:max-w-md text-sm text-justify ml-auto mr-0 mt-2 text-neutral-400">
Once a hosting provider gets verified with us, we ask them to keep
their listing up to date and refresh their evidence at least annually.</p>

<p class="max-w-xs md:max-w-md text-sm text-justify ml-auto mr-0 mt-2 text-neutral-400">
<span class="text-neutral-500">Are you a customer of this provider?</span> We find
it helps most providers act more quickly if they receive a friendly prompt
from you reminding them of the importance of this open data. Use our
<a target="_blank" rel="noopener noreferrer" href="https://www.thegreenwebfoundation.org/sample-emails/">
sample emails</a> to start a conversation.</p>

<p class="max-w-xs md:max-w-md text-sm text-justify ml-auto mr-0 mt-2 text-neutral-400">
<span class="text-neutral-500">Do you work for this provider?</span>
<a target="_blank" rel="noopener noreferrer" href="https://www.thegreenwebfoundation.org/support-form/?wpf2192_9=Update a listing in the Green Web Directory">
Submit a correction</a> now.</p>

{% endif %}
<details class="">
<summary class="text-right text-sm text-neutral-400">Think this data could be improved?</summary>

<p class="max-w-xs md:max-w-md text-sm text-justify ml-auto mr-0 mt-2 text-neutral-400">
We work with hosting providers to ensure the data shown here is correct
on submission, refreshed at least annually and made public. But like any dataset,
this data requires tending.
<a target="_blank" rel="noopener noreferrer"
href="https://www.thegreenwebfoundation.org/support/i-think-theres-an-error-in-the-green-web-dataset-what-can-i-do/">
It can become incorrect</a> over time. That's when a little people power makes all the difference!</p>

<p class="max-w-xs md:max-w-md text-sm text-justify ml-auto mr-0 mt-2 text-neutral-400">
<span class="text-neutral-500">Customers of this provider</span> -
a request coming from a customer to update the information visible here usually carries more weight than one coming from us.
Use our
<a target="_blank" rel="noopener noreferrer" href="https://www.thegreenwebfoundation.org/sample-emails/">
sample emails</a> to start a conversation.</p>

<p class="max-w-xs md:max-w-md text-sm text-justify ml-auto mr-0 mt-2 text-neutral-400">
<span class="text-neutral-500">Provider staff</span> -
<a target="_blank" rel="noopener noreferrer" href="https://www.thegreenwebfoundation.org/support-form/?wpf2192_9=Update a listing in the Green Web Directory">
submit a correction</a>.</p>

</article>

Expand Down

0 comments on commit 670c336

Please sign in to comment.