Merge pull request #4430 from svbergerem/add-no-comments-message-to-spv
Add 'no comments' message to SPV
This commit is contained in:
commit
51a553a811
3 changed files with 14 additions and 0 deletions
|
|
@ -102,6 +102,15 @@
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.no_comments {
|
||||||
|
padding-top: 10px;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
background-color: #eee;
|
||||||
|
text-align: center;
|
||||||
|
@include border-radius(4px);
|
||||||
|
margin-bottom: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
textarea {
|
textarea {
|
||||||
width: 95%;
|
width: 95%;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,10 @@
|
||||||
<i class='entypo comment middle gray'></i>
|
<i class='entypo comment middle gray'></i>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{{else}}
|
||||||
|
<div class='no_comments'>
|
||||||
|
<h4>{{t "comments.no_comments" }}</h4>
|
||||||
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<div id='comments'>
|
<div id='comments'>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -63,6 +63,7 @@ en:
|
||||||
comments:
|
comments:
|
||||||
show: "show all comments"
|
show: "show all comments"
|
||||||
hide: "hide comments"
|
hide: "hide comments"
|
||||||
|
no_comments: "There are no comments yet."
|
||||||
reshares:
|
reshares:
|
||||||
duplicate: "That good, huh? You've already reshared that post!"
|
duplicate: "That good, huh? You've already reshared that post!"
|
||||||
successful: "The post was successfully reshared!"
|
successful: "The post was successfully reshared!"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue