improves text and titles of social network links
This commit is contained in:
@@ -48,49 +48,55 @@
|
||||
<ul>
|
||||
<% if setting['twitter_handle'] %>
|
||||
<li class="inline-block">
|
||||
<%= link_to "https://twitter.com/#{setting['twitter_handle']}", target: "_blank", title: t("social.twitter") + t('shared.target_blank_html') do %>
|
||||
<span class="sr-only"><%= t("social.twitter") %></span>
|
||||
<span class="icon-twitter" aria-hidden="true"></span>
|
||||
<%= link_to "https://twitter.com/#{setting['twitter_handle']}", target: "_blank",
|
||||
title: t("social.twitter", org: setting['org_name']) + t('shared.target_blank_html') do %>
|
||||
<span class="sr-only"><%= t("social.twitter, org: setting['org_name']") %></span>
|
||||
<span class="icon-twitter" aria-hidden="true"></span>
|
||||
<% end %>
|
||||
</li>
|
||||
<% end %>
|
||||
<% if setting['facebook_handle'] %>
|
||||
<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 %>
|
||||
<span class="sr-only"><%= t("social.facebook") %></span>
|
||||
<span class="icon-facebook" aria-hidden="true"></span>
|
||||
<%= link_to "https://www.facebook.com/#{setting['facebook_handle']}/", target: "_blank",
|
||||
title: t("social.facebook", org: setting['org_name']) + t('shared.target_blank_html') do %>
|
||||
<span class="sr-only"><%= t("social.facebook, org: setting['org_name']") %></span>
|
||||
<span class="icon-facebook" aria-hidden="true"></span>
|
||||
<% end %>
|
||||
</li>
|
||||
<% end %>
|
||||
<% if setting['blog_url'] %>
|
||||
<li class="inline-block">
|
||||
<%= link_to setting['blog_url'], target: "_blank", title: t("social.blog") + t('shared.target_blank_html') do %>
|
||||
<span class="sr-only"><%= t("social.blog") %></span>
|
||||
<span class="icon-blog" aria-hidden="true"></span>
|
||||
<%= link_to setting['blog_url'], target: "_blank",
|
||||
title: t("social.blog", org: setting['org_name']) + t('shared.target_blank_html') do %>
|
||||
<span class="sr-only"><%= t("social.blog, org: setting['org_name']") %></span>
|
||||
<span class="icon-blog" aria-hidden="true"></span>
|
||||
<% end %>
|
||||
</li>
|
||||
<% end %>
|
||||
<% if setting['youtube_handle'] %>
|
||||
<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 %>
|
||||
<span class="sr-only"><%= t("social.youtube") %></span>
|
||||
<span class="icon-youtube" aria-hidden="true"></span>
|
||||
<%= link_to "https://www.youtube.com/#{setting['youtube_handle']}", target: "_blank",
|
||||
title: t("social.youtube", org: setting['org_name']) + t('shared.target_blank_html') do %>
|
||||
<span class="sr-only"><%= t("social.youtube", org: setting['org_name']) %></span>
|
||||
<span class="icon-youtube" aria-hidden="true"></span>
|
||||
<% end %>
|
||||
</li>
|
||||
<% end %>
|
||||
<% if setting['telegram_handle'] %>
|
||||
<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 %>
|
||||
<span class="sr-only"><%= t("social.telegram") %></span>
|
||||
<span class="icon-telegram" aria-hidden="true"></span>
|
||||
<%= link_to "https://www.telegram.me/#{setting['telegram_handle']}", target: "_blank",
|
||||
title: t("social.telegram", org: setting['org_name']) + t('shared.target_blank_html') do %>
|
||||
<span class="sr-only"><%= t("social.telegram") %></span>
|
||||
<span class="icon-telegram" aria-hidden="true"></span>
|
||||
<% end %>
|
||||
</li>
|
||||
<% end %>
|
||||
<% if setting['instagram_handle'] %>
|
||||
<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 %>
|
||||
<span class="sr-only"><%= t("social.instagram") %></span>
|
||||
<span class="icon-instagram" aria-hidden="true"></span>
|
||||
<%= link_to "https://www.instagram.com/#{setting['instagram_handle']}", target: "_blank",
|
||||
title: t("social.instagram", org: setting['org_name']) + t('shared.target_blank_html') do %>
|
||||
<span class="sr-only"><%= t("social.instagram", org: setting['org_name']) %></span>
|
||||
<span class="icon-instagram" aria-hidden="true"></span>
|
||||
<% end %>
|
||||
</li>
|
||||
<% end %>
|
||||
|
||||
@@ -528,13 +528,13 @@ en:
|
||||
budget: Participatory budget
|
||||
searcher: Searcher
|
||||
social:
|
||||
blog: Blog
|
||||
facebook: Facebook
|
||||
twitter: Twitter
|
||||
youtube: YouTube
|
||||
blog: "%{org} Blog"
|
||||
facebook: "%{org} Facebook"
|
||||
twitter: "%{org} Twitter"
|
||||
youtube: "%{org} YouTube"
|
||||
whatsapp: WhatsApp
|
||||
telegram: Telegram
|
||||
instagram: Instagram
|
||||
telegram: "%{org} Telegram"
|
||||
instagram: "%{org} Instagram"
|
||||
spending_proposals:
|
||||
form:
|
||||
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
|
||||
searcher: Buscador
|
||||
social:
|
||||
blog: Blog
|
||||
facebook: Facebook
|
||||
twitter: Twitter
|
||||
youtube: YouTube
|
||||
blog: "Blog de %{org}"
|
||||
facebook: "Facebook de %{org}"
|
||||
twitter: "Twitter de %{org}"
|
||||
youtube: "YouTube de %{org}"
|
||||
whatsapp: WhatsApp
|
||||
telegram: Telegram
|
||||
instagram: Instagram
|
||||
telegram: "Telegram de %{org}"
|
||||
instagram: "Instagram de %{org}"
|
||||
spending_proposals:
|
||||
form:
|
||||
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