We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c8fab6 commit 85962f1Copy full SHA for 85962f1
app/views/proposals/show.html.erb
@@ -26,11 +26,13 @@ show_private_note = (can_edit?(@proposal) || selector?) && ! @proposal.note_to_o
26
<%- if SETTINGS.twitter -%>
27
<meta name="twitter:site" content="<%= SETTINGS.twitter %>">
28
<%- end -%>
29
+ <%- if user_profiles? -%>
30
<%- if multiple_presenters? && first_user_with_twitter = @proposal.users.detect{|u| !u.twitter.blank?} -%>
31
<meta name="twitter:creator" content="<%= first_user_with_twitter.normalized_twitter %>">
32
<%- elsif !multiple_presenters? && !@proposal.user.twitter.blank? -%>
33
<meta name="twitter:creator" content="<%= @proposal.user.normalized_twitter %>">
34
<% end -%>
35
+ <% end -%>
36
37
38
<% content_for :scripts do %>
0 commit comments