diff --git a/app/assets/stylesheets/single-post-view.css.scss b/app/assets/stylesheets/single-post-view.css.scss index 26947f0c0..0965533ef 100644 --- a/app/assets/stylesheets/single-post-view.css.scss +++ b/app/assets/stylesheets/single-post-view.css.scss @@ -102,6 +102,15 @@ margin: 0; } } + .no_comments { + padding-top: 10px; + padding-bottom: 10px; + background-color: #eee; + text-align: center; + @include border-radius(4px); + margin-bottom: 30px; + } + textarea { width: 95%; } diff --git a/app/assets/templates/single-post-viewer/single-post-interactions_tpl.jst.hbs b/app/assets/templates/single-post-viewer/single-post-interactions_tpl.jst.hbs index 7b524911d..7e5b88b18 100644 --- a/app/assets/templates/single-post-viewer/single-post-interactions_tpl.jst.hbs +++ b/app/assets/templates/single-post-viewer/single-post-interactions_tpl.jst.hbs @@ -35,6 +35,10 @@ +{{else}} +
+

{{t "comments.no_comments" }}

+
{{/if}}
diff --git a/config/locales/javascript/javascript.en.yml b/config/locales/javascript/javascript.en.yml index 09f435308..90182691b 100644 --- a/config/locales/javascript/javascript.en.yml +++ b/config/locales/javascript/javascript.en.yml @@ -63,6 +63,7 @@ en: comments: show: "show all comments" hide: "hide comments" + no_comments: "There are no comments yet." reshares: duplicate: "That good, huh? You've already reshared that post!" successful: "The post was successfully reshared!"