diff --git a/app/assets/javascripts/discourse/components/post_gap_component.js b/app/assets/javascripts/discourse/components/post_gap_component.js index 651888555d4..dfffe9a8217 100644 --- a/app/assets/javascripts/discourse/components/post_gap_component.js +++ b/app/assets/javascripts/discourse/components/post_gap_component.js @@ -25,7 +25,7 @@ Discourse.PostGapComponent = Ember.Component.extend({ if (this.get('loading')) { buffer.push(I18n.t('loading')); } else { - buffer.push("" + I18n.t('post.gap', {count: this.get('gap.length')})); + buffer.push(I18n.t('post.gap', {count: this.get('gap.length')})); } }, diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss index 0103f04ea33..a450900a0b4 100644 --- a/app/assets/stylesheets/desktop/topic-post.scss +++ b/app/assets/stylesheets/desktop/topic-post.scss @@ -3,18 +3,19 @@ .gap { background-color: #f9f9f9; - border: 1px solid #eee; padding: 5px 10px; margin-bottom: 10px; - color: #555; + color: #999; cursor: pointer; + text-align: center; + width: 820px; &:hover { background-color: #eee; } - i.icon { - margin-right: 6px; + @include medium-width { + width: 800px; } } diff --git a/app/assets/stylesheets/mobile/topic-post.scss b/app/assets/stylesheets/mobile/topic-post.scss index 8759944bee0..8d511a73cbe 100644 --- a/app/assets/stylesheets/mobile/topic-post.scss +++ b/app/assets/stylesheets/mobile/topic-post.scss @@ -1,5 +1,13 @@ @import "common/foundation/variables"; +.gap { + background-color: #f9f9f9; + padding: 5px 15px; + color: #999; + text-align: center; + margin: 0 10px; +} + .topic-post { border-top: 1px solid #ddd; padding: 6px 0 3px 0; diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index e41f6df1174..a20f04adb00 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -817,8 +817,8 @@ en: deleted_by: "deleted by" expand_collapse: "expand/collapse" gap: - one: "1 post was omitted due to your current filter. Click to show it." - other: "{{count}} posts were omitted due to your current filter. Click to show them." + one: "1 post omitted" + other: "{{count}} posts omitted" has_replies: one: "Reply"