typo: state instead of status
This commit is contained in:
Christoph Holtermann 2018-07-05 03:26:48 +02:00 committed by Guo Xiang Tan
parent b54ba4c952
commit 68bfe0260a
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
<header class='discourse' data-embed-status='loaded'>
<header class='discourse' data-embed-state='loaded'>
<% 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 %>

View File

@ -1,4 +1,4 @@
<header class='discourse' data-embed-status='error'>
<header class='discourse' data-embed-state='error'>
<h3><%= t 'embed.error' %></h3>
<%= link_to(image_tag(SiteSetting.logo_url, class: 'logo'), Discourse.base_url) %>
<div class='clearfix'></div>

View File

@ -1,4 +1,4 @@
<header class='discourse' data-embed-status='loading'>
<header class='discourse' data-embed-state='loading'>
<h3><%= t 'embed.loading' %></h3>
<%= link_to(image_tag(SiteSetting.logo_url, class: 'logo'), Discourse.base_url) %>
<div class='clearfix'></div>