Permalink
Browse files

Update trackback display in bootstrap-2 theme

As in the default views, hide the trackback section unless trackbacks
are present.
  • Loading branch information...
mvz committed Jul 8, 2017
1 parent f49187e commit 3d04bf50194b731dbffbac61e7d4489ad58ee53e
View
@@ -15,7 +15,6 @@ da:
read:
add_me_to_twitter: add me to Twitter
if_you_liked_this_article_you_can_html: If you liked this article you can %{add_twitter}
trackbacks_are_disabled: Trackbacks are disabled
trackbacks_for: Trackbacks for
search:
search_results_for: Search results for '%{query}'
View
@@ -15,7 +15,6 @@ de:
read:
add_me_to_twitter: add me to Twitter
if_you_liked_this_article_you_can_html: If you liked this article you can %{add_twitter}
trackbacks_are_disabled: Trackbacks are disabled
trackbacks_for: Trackbacks for
search:
search_results_for: Search results for '%{query}'
View
@@ -15,7 +15,6 @@ en:
read:
add_me_to_twitter: follow me on Twitter
if_you_liked_this_article_you_can_html: If you liked this article you can %{add_twitter}
trackbacks_are_disabled: Trackbacks are disabled
trackbacks_for: Trackbacks for
search:
search_results_for: Search results for '%{query}'
View
@@ -15,7 +15,6 @@ es-MX:
read:
add_me_to_twitter: agregame en Twitter
if_you_liked_this_article_you_can_html: Si le gustó este artículo, usted puede %{add_twitter}
trackbacks_are_disabled: Trackbacks deshabilitados
trackbacks_for: Trackbacks para
search:
search_results_for: Search results for '%{query}'
View
@@ -15,7 +15,6 @@ fr:
read:
add_me_to_twitter: me suivre sur Twitter
if_you_liked_this_article_you_can_html: Si vous avez aimé cet article, vous pouvez %{add_twitter}
trackbacks_are_disabled: Les rétroliens sont désactivés
trackbacks_for: Rétroliens pour
search:
search_results_for: Search results for '%{query}'
View
@@ -15,7 +15,6 @@ he:
read:
add_me_to_twitter: add me to Twitter
if_you_liked_this_article_you_can_html: If you liked this article you can %{add_twitter}
trackbacks_are_disabled: Trackbacks are disabled
trackbacks_for: Trackbacks for
search:
search_results_for: Search results for '%{query}'
View
@@ -15,7 +15,6 @@ it:
read:
add_me_to_twitter: add me to Twitter
if_you_liked_this_article_you_can_html: If you liked this article you can %{add_twitter}
trackbacks_are_disabled: Trackbacks are disabled
trackbacks_for: Trackbacks for
search:
search_results_for: Search results for '%{query}'
View
@@ -15,7 +15,6 @@ ja:
read:
add_me_to_twitter: add me to Twitter
if_you_liked_this_article_you_can_html: If you liked this article you can %{add_twitter}
trackbacks_are_disabled: Trackbacks are disabled
trackbacks_for: Trackbacks for
search:
search_results_for: Search results for '%{query}'
View
@@ -15,7 +15,6 @@ lt:
read:
add_me_to_twitter: add me to Twitter
if_you_liked_this_article_you_can_html: If you liked this article you can %{add_twitter}
trackbacks_are_disabled: Trackbacks are disabled
trackbacks_for: Trackbacks for
search:
search_results_for: Search results for '%{query}'
View
@@ -15,7 +15,6 @@ nb-NO:
read:
add_me_to_twitter: legge meg til på Twitter
if_you_liked_this_article_you_can_html: Hvis du likte denne artikkelen, kan du %{add_twitter}
trackbacks_are_disabled: Trackbacks er slått av
trackbacks_for: Trackbacks for
search:
search_results_for: Search results for '%{query}'
View
@@ -15,7 +15,6 @@ nl:
read:
add_me_to_twitter: add me to Twitter
if_you_liked_this_article_you_can_html: If you liked this article you can %{add_twitter}
trackbacks_are_disabled: Trackbacks are disabled
trackbacks_for: Trackbacks for
search:
search_results_for: Search results for '%{query}'
View
@@ -15,7 +15,6 @@ pl:
read:
add_me_to_twitter: add me to Twitter
if_you_liked_this_article_you_can_html: If you liked this article you can %{add_twitter}
trackbacks_are_disabled: Trackbacks are disabled
trackbacks_for: Trackbacks for
search:
search_results_for: Search results for '%{query}'
View
@@ -15,7 +15,6 @@ pt-BR:
read:
add_me_to_twitter: me adicionar no Twitter
if_you_liked_this_article_you_can_html: Se você gostou deste artigo, você pode %{add_twitter}
trackbacks_are_disabled: Trackbacks foram desabilitados
trackbacks_for: Trackbacks para
search:
search_results_for: Resultados de busca para '%{query}'
View
@@ -15,7 +15,6 @@ ro:
read:
add_me_to_twitter: add me to Twitter
if_you_liked_this_article_you_can_html: If you liked this article you can %{add_twitter}
trackbacks_are_disabled: Trackbacks are disabled
trackbacks_for: Trackbacks for
search:
search_results_for: Search results for '%{query}'
View
@@ -15,7 +15,6 @@ ru:
read:
add_me_to_twitter: add me to Twitter
if_you_liked_this_article_you_can_html: If you liked this article you can %{add_twitter}
trackbacks_are_disabled: Trackback’и выключены
trackbacks_for: Trackbacks for
search:
search_results_for: Search results for '%{query}'
View
@@ -15,7 +15,6 @@ zh-CN:
read:
add_me_to_twitter: add me to Twitter
if_you_liked_this_article_you_can_html: If you liked this article you can %{add_twitter}
trackbacks_are_disabled: Trackbacks are disabled
trackbacks_for: Trackbacks for
search:
search_results_for: Search results for '%{query}'
View
@@ -15,7 +15,6 @@ zh-TW:
read:
add_me_to_twitter: add me to Twitter
if_you_liked_this_article_you_can_html: If you liked this article you can %{add_twitter}
trackbacks_are_disabled: Trackbacks are disabled
trackbacks_for: Trackbacks for
search:
search_results_for: Search results for '%{query}'
@@ -26,16 +26,10 @@
</div>
<% end %>
<% if @article.allow_pings? %>
<h5 class="feedback" id="trackbacks"><%= t('.trackbacks_for')%> <em><%= @article.title %></em></h5>
<% unless @article.published_trackbacks.blank? %>
<ol id="trackbacks" class="trackbacks">
<%= render partial: "trackback", collection: @article.published_trackbacks %>
</ol>
<% end %>
<% else %>
<div class="well well-small">
<%= t(".trackbacks_are_disabled") %>
</div>
<% if @article.published_trackbacks.any? %>
<h5 class="feedback" id="trackbacks"><%= t('.trackbacks_for')%> <em><%= @article.title %></em></h5>
<ol id="trackbacks" class="trackbacks">
<%= render partial: "trackback", collection: @article.published_trackbacks %>
</ol>
<% end %>
</div>

0 comments on commit 3d04bf5

Please sign in to comment.