Merge pull request #38 from medialab-prado/36-question-page-details
Question title for page and share links
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
<% provide :title do %><%= "#{@draft_version.title} - #{t('.title')} - #{@process.title}" %><% end %>
|
||||
|
||||
<div class="row">
|
||||
<h2><%= @process.title %></h2>
|
||||
<h2><%= @draft_version.title %></h2>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<% provide :title do %><%= "#{@draft_version.title} - #{@process.title}" %><% end %>
|
||||
|
||||
<div class="row">
|
||||
<h2><%= link_to @process.title, @process %></h2>
|
||||
<h2><%= @draft_version.title %></h2>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<% provide :title do %><%= @process.title %><% end %>
|
||||
|
||||
<%= render 'legislation/processes/header_full', process: @process %>
|
||||
|
||||
<div class="row">
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<% provide :title do %><%= @process.title %><% end %>
|
||||
|
||||
<%= render 'header_full', process: @process %>
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<% provide :title do %><%= @question.title %><% end %>
|
||||
|
||||
<section class="debate-quiz">
|
||||
<div class="quiz-header row small-collapse">
|
||||
<div class="small-12 medium-9 column">
|
||||
@@ -37,10 +39,10 @@
|
||||
<div id="social-share" class="sidebar-divider"></div>
|
||||
<h3><%= t('.share') %></h3>
|
||||
<div class="social-share-full">
|
||||
<div class="social-share-button" data-title="Soluta sed sapiente dolores. #consul_dev" data-img="" data-url="" data-desc="" data-via="">
|
||||
<a rel="nofollow " data-site="twitter" class="ssb-icon ssb-twitter" onclick="return SocialShareButton.share(this);" title="Compartir en Twitter" href="#"><span class="sr-only">twitter</span></a>
|
||||
<a rel="nofollow " data-site="facebook" class="ssb-icon ssb-facebook" onclick="return SocialShareButton.share(this);" title="Compartir en Facebook" href="#"><span class="sr-only">facebook</span></a>
|
||||
<a rel="nofollow " data-site="google_plus" class="ssb-icon ssb-google_plus" onclick="return SocialShareButton.share(this);" title="Compartir en Google+" href="#"><span class="sr-only">google_plus</span></a>
|
||||
<div class="social-share-button" data-title="<%= @question.title %>" data-img="" data-url="" data-desc="" data-via="">
|
||||
<a rel="nofollow " data-site="twitter" class="ssb-icon ssb-twitter" onclick="return SocialShareButton.share(this);" title="<%= t('.share_twitter') %>" href="#"><span class="sr-only">twitter</span></a>
|
||||
<a rel="nofollow " data-site="facebook" class="ssb-icon ssb-facebook" onclick="return SocialShareButton.share(this);" title="<%= t('.share_facebook') %>" href="#"><span class="sr-only">facebook</span></a>
|
||||
<a rel="nofollow " data-site="google_plus" class="ssb-icon ssb-google_plus" onclick="return SocialShareButton.share(this);" title="<%= t('.share_gplus') %>" href="#"><span class="sr-only">google_plus</span></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -224,6 +224,7 @@ en:
|
||||
legislation:
|
||||
draft_versions:
|
||||
changes:
|
||||
title: Changes
|
||||
see_text: See text
|
||||
show:
|
||||
see_changes: See changes
|
||||
@@ -271,6 +272,9 @@ en:
|
||||
comments: COMMENTS
|
||||
next_question: Next question
|
||||
share: Share
|
||||
share_twitter: Share on Twitter
|
||||
share_facebook: Share on Facebook
|
||||
share_gplus: Share on Google+
|
||||
title: Collaborative legislation process
|
||||
locale: English
|
||||
notifications:
|
||||
|
||||
@@ -224,6 +224,7 @@ es:
|
||||
legislation:
|
||||
draft_versions:
|
||||
changes:
|
||||
title: Cambios
|
||||
see_text: Ver texto
|
||||
show:
|
||||
see_changes: Ver cambios
|
||||
@@ -271,6 +272,9 @@ es:
|
||||
comments: COMENTARIOS
|
||||
next_question: Siguiente pregunta
|
||||
share: Compartir
|
||||
share_twitter: Compartir en Twitter
|
||||
share_facebook: Compartir en Facebook
|
||||
share_gplus: Compartir en Google+
|
||||
title: Proceso de legislación colaborativa
|
||||
locale: Español
|
||||
notifications:
|
||||
|
||||
Reference in New Issue
Block a user