0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00

Merge pull request #4100 from novaugust/iss4097

Fix uncentered no posts view
This commit is contained in:
Jason Williams 2014-09-22 18:58:31 -05:00
commit 6437092781
2 changed files with 7 additions and 7 deletions

View file

@ -1,8 +1,6 @@
{{#if noPosts}}
<div class="no-posts-box">
<div class="no-posts">
<h3>You Haven't Written Any Posts Yet!</h3>
{{#link-to "editor.new"}}<button type="button" class="btn btn-green btn-lg" title="New Post">Write a new Post</button>{{/link-to}}
</div>
<div class="no-posts">
<h3>You Haven't Written Any Posts Yet!</h3>
{{#link-to "editor.new"}}<button type="button" class="btn btn-green btn-lg" title="New Post">Write a new Post</button>{{/link-to}}
</div>
{{/if}}
{{/if}}

View file

@ -1,5 +1,7 @@
import MobileIndexView from 'ghost/views/mobile/index-view';
var PostsIndexView = MobileIndexView.extend();
var PostsIndexView = MobileIndexView.extend({
classNames: ['no-posts-box']
});
export default PostsIndexView;