improves text and titles of social network links
This commit is contained in:
@@ -48,49 +48,55 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<% if setting['twitter_handle'] %>
|
<% if setting['twitter_handle'] %>
|
||||||
<li class="inline-block">
|
<li class="inline-block">
|
||||||
<%= link_to "https://twitter.com/#{setting['twitter_handle']}", target: "_blank", title: t("social.twitter") + t('shared.target_blank_html') do %>
|
<%= link_to "https://twitter.com/#{setting['twitter_handle']}", target: "_blank",
|
||||||
<span class="sr-only"><%= t("social.twitter") %></span>
|
title: t("social.twitter", org: setting['org_name']) + t('shared.target_blank_html') do %>
|
||||||
<span class="icon-twitter" aria-hidden="true"></span>
|
<span class="sr-only"><%= t("social.twitter, org: setting['org_name']") %></span>
|
||||||
|
<span class="icon-twitter" aria-hidden="true"></span>
|
||||||
<% end %>
|
<% end %>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if setting['facebook_handle'] %>
|
<% if setting['facebook_handle'] %>
|
||||||
<li class="inline-block">
|
<li class="inline-block">
|
||||||
<%= link_to "https://www.facebook.com/#{setting['facebook_handle']}/", target: "_blank", title: t("social.facebook") + t('shared.target_blank_html') do %>
|
<%= link_to "https://www.facebook.com/#{setting['facebook_handle']}/", target: "_blank",
|
||||||
<span class="sr-only"><%= t("social.facebook") %></span>
|
title: t("social.facebook", org: setting['org_name']) + t('shared.target_blank_html') do %>
|
||||||
<span class="icon-facebook" aria-hidden="true"></span>
|
<span class="sr-only"><%= t("social.facebook, org: setting['org_name']") %></span>
|
||||||
|
<span class="icon-facebook" aria-hidden="true"></span>
|
||||||
<% end %>
|
<% end %>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if setting['blog_url'] %>
|
<% if setting['blog_url'] %>
|
||||||
<li class="inline-block">
|
<li class="inline-block">
|
||||||
<%= link_to setting['blog_url'], target: "_blank", title: t("social.blog") + t('shared.target_blank_html') do %>
|
<%= link_to setting['blog_url'], target: "_blank",
|
||||||
<span class="sr-only"><%= t("social.blog") %></span>
|
title: t("social.blog", org: setting['org_name']) + t('shared.target_blank_html') do %>
|
||||||
<span class="icon-blog" aria-hidden="true"></span>
|
<span class="sr-only"><%= t("social.blog, org: setting['org_name']") %></span>
|
||||||
|
<span class="icon-blog" aria-hidden="true"></span>
|
||||||
<% end %>
|
<% end %>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if setting['youtube_handle'] %>
|
<% if setting['youtube_handle'] %>
|
||||||
<li class="inline-block">
|
<li class="inline-block">
|
||||||
<%= link_to "https://www.youtube.com/#{setting['youtube_handle']}", target: "_blank", title: t("social.youtube") + t('shared.target_blank_html') do %>
|
<%= link_to "https://www.youtube.com/#{setting['youtube_handle']}", target: "_blank",
|
||||||
<span class="sr-only"><%= t("social.youtube") %></span>
|
title: t("social.youtube", org: setting['org_name']) + t('shared.target_blank_html') do %>
|
||||||
<span class="icon-youtube" aria-hidden="true"></span>
|
<span class="sr-only"><%= t("social.youtube", org: setting['org_name']) %></span>
|
||||||
|
<span class="icon-youtube" aria-hidden="true"></span>
|
||||||
<% end %>
|
<% end %>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if setting['telegram_handle'] %>
|
<% if setting['telegram_handle'] %>
|
||||||
<li class="inline-block">
|
<li class="inline-block">
|
||||||
<%= link_to "https://www.telegram.me/#{setting['telegram_handle']}", target: "_blank", title: t("social.telegram") + t('shared.target_blank_html') do %>
|
<%= link_to "https://www.telegram.me/#{setting['telegram_handle']}", target: "_blank",
|
||||||
<span class="sr-only"><%= t("social.telegram") %></span>
|
title: t("social.telegram", org: setting['org_name']) + t('shared.target_blank_html') do %>
|
||||||
<span class="icon-telegram" aria-hidden="true"></span>
|
<span class="sr-only"><%= t("social.telegram") %></span>
|
||||||
|
<span class="icon-telegram" aria-hidden="true"></span>
|
||||||
<% end %>
|
<% end %>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if setting['instagram_handle'] %>
|
<% if setting['instagram_handle'] %>
|
||||||
<li class="inline-block">
|
<li class="inline-block">
|
||||||
<%= link_to "https://www.instagram.com/#{setting['instagram_handle']}", target: "_blank", title: t("social.instagram") + t('shared.target_blank_html') do %>
|
<%= link_to "https://www.instagram.com/#{setting['instagram_handle']}", target: "_blank",
|
||||||
<span class="sr-only"><%= t("social.instagram") %></span>
|
title: t("social.instagram", org: setting['org_name']) + t('shared.target_blank_html') do %>
|
||||||
<span class="icon-instagram" aria-hidden="true"></span>
|
<span class="sr-only"><%= t("social.instagram", org: setting['org_name']) %></span>
|
||||||
|
<span class="icon-instagram" aria-hidden="true"></span>
|
||||||
<% end %>
|
<% end %>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
@@ -528,13 +528,13 @@ en:
|
|||||||
budget: Participatory budget
|
budget: Participatory budget
|
||||||
searcher: Searcher
|
searcher: Searcher
|
||||||
social:
|
social:
|
||||||
blog: Blog
|
blog: "%{org} Blog"
|
||||||
facebook: Facebook
|
facebook: "%{org} Facebook"
|
||||||
twitter: Twitter
|
twitter: "%{org} Twitter"
|
||||||
youtube: YouTube
|
youtube: "%{org} YouTube"
|
||||||
whatsapp: WhatsApp
|
whatsapp: WhatsApp
|
||||||
telegram: Telegram
|
telegram: "%{org} Telegram"
|
||||||
instagram: Instagram
|
instagram: "%{org} Instagram"
|
||||||
spending_proposals:
|
spending_proposals:
|
||||||
form:
|
form:
|
||||||
association_name_label: 'If you propose in name of an assocation or collective add the name here'
|
association_name_label: 'If you propose in name of an assocation or collective add the name here'
|
||||||
|
|||||||
@@ -528,13 +528,13 @@ es:
|
|||||||
budget: Presupuestos participativos
|
budget: Presupuestos participativos
|
||||||
searcher: Buscador
|
searcher: Buscador
|
||||||
social:
|
social:
|
||||||
blog: Blog
|
blog: "Blog de %{org}"
|
||||||
facebook: Facebook
|
facebook: "Facebook de %{org}"
|
||||||
twitter: Twitter
|
twitter: "Twitter de %{org}"
|
||||||
youtube: YouTube
|
youtube: "YouTube de %{org}"
|
||||||
whatsapp: WhatsApp
|
whatsapp: WhatsApp
|
||||||
telegram: Telegram
|
telegram: "Telegram de %{org}"
|
||||||
instagram: Instagram
|
instagram: "Instagram de %{org}"
|
||||||
spending_proposals:
|
spending_proposals:
|
||||||
form:
|
form:
|
||||||
association_name_label: 'Si propones en nombre de una asociación o colectivo añade el nombre aquí'
|
association_name_label: 'Si propones en nombre de una asociación o colectivo añade el nombre aquí'
|
||||||
|
|||||||
Reference in New Issue
Block a user