diff --git a/app/views/embed/comments.html.erb b/app/views/embed/comments.html.erb index b00805e8dc6..25735bfc4a9 100644 --- a/app/views/embed/comments.html.erb +++ b/app/views/embed/comments.html.erb @@ -1,4 +1,4 @@ -
+
<% if @topic_view.topic.posts_count < 2 %> <%= link_to(I18n.t('embed.start_discussion'), @topic_view.topic.url, class: 'button', target: '_blank') %> <% elsif @topic_view.topic.posts_count > 10 %> diff --git a/app/views/embed/embed_error.html.erb b/app/views/embed/embed_error.html.erb index eac85f13edb..b6b1121b80c 100644 --- a/app/views/embed/embed_error.html.erb +++ b/app/views/embed/embed_error.html.erb @@ -1,4 +1,4 @@ -
+

<%= t 'embed.error' %>

<%= link_to(image_tag(SiteSetting.logo_url, class: 'logo'), Discourse.base_url) %>
diff --git a/app/views/embed/loading.html.erb b/app/views/embed/loading.html.erb index 52e6636b1c2..ccb68dbdf46 100644 --- a/app/views/embed/loading.html.erb +++ b/app/views/embed/loading.html.erb @@ -1,4 +1,4 @@ -
+

<%= t 'embed.loading' %>

<%= link_to(image_tag(SiteSetting.logo_url, class: 'logo'), Discourse.base_url) %>