summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorluca-marie <ml.kochsiek@fu-berlin.de>2016-08-26 17:16:35 +0200
committerthea <ta.kupler@gmail.com>2016-09-01 12:09:37 +0200
commite87d797cdbfe5ebe8dff789742adb6a82d92aae4 (patch)
tree6cd29e707506b779714f1947f6113b85ba02844f /app/views
parent1959dd6077d9cac95d678b5378022234ccbf979b (diff)
Small updates on method to check if twitter feed enabled
Diffstat (limited to 'app/views')
-rw-r--r--app/views/twitter/_index.html.erb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/twitter/_index.html.erb b/app/views/twitter/_index.html.erb
index 3dab567..8ac65be 100644
--- a/app/views/twitter/_index.html.erb
+++ b/app/views/twitter/_index.html.erb
@@ -1,3 +1,4 @@
+<% if twitter_enabled == true %>
<div class="twitter">
<div class="twitter_header">
Tweets by <%= twitter_name %></p>
@@ -22,3 +23,4 @@
To prevent leakage no links are displayed. For more information visit @<%= twitter_name %> on twitter.com.</p>
</div>
</div>
+<% end %>