aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/request/_act.html.erb
blob: 1199cb4a27f390c7ff3451236d0a2abe008517ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<h2><%= _("Act on what you've learnt") %></h2>

<div class="act_link">
    <% tweet_link = "https://twitter.com/share?" + {:url => request.url, :via => AlaveteliConfiguration::twitter_username, :text => "'#{@info_request.title}'", :related => _('alaveteli_foi:The software that runs {{site_name}}', :site_name => site_name)}.to_query %>
    <% link_to tweet_link do %>
      <%= image_tag "twitter-16.png", :alt => "twitter icon" %>
    <% end %>
    <%= link_to _("Tweet this request"), tweet_link %>
</div>
<div class="act_link">
    <%= link_to "http://wordpress.com/" do %>
      <%= image_tag "wordpress.png", :class => "rss" %>
    <% end %>
    <%= link_to _("Start your own blog"), "http://wordpress.com/"%>
</div>