aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/request/_act.html.erb
blob: 878cdf4ff9bdd49d8639310f3310ac35336ca747 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<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>