mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
b04dfd52c1
No issue Misc Places - Removed expired, irrelevant, and fixed todos FloatingHeaderPartial - Fixed "Written" vs "Published" text logic SettingsGeneralController - Removed single quotes from property names EditorBaseController, MarkerManagerMixin - Aligned var declarations PostItemView - Commented out unfunctional code for feature request #2398 - Switched `isPage`, `isFeatured` to be computed properties in `Po - use `toggleProperty` in `PostController.action.toggleFeatured`
18 lines
533 B
JavaScript
18 lines
533 B
JavaScript
import itemView from 'ghost/views/item-view';
|
|
|
|
var PostItemView = itemView.extend({
|
|
classNameBindings: ['isFeatured:featured', 'isPage:page'],
|
|
|
|
isFeatured: Ember.computed.alias('controller.model.featured'),
|
|
|
|
isPage: Ember.computed.alias('controller.model.page'),
|
|
|
|
// WIP for #2308
|
|
/*
|
|
openEditor: function () {
|
|
this.get('controller').send('openEditor', this.get('controller.model')); // send action to handle transition to editor route
|
|
}.on('doubleClick')
|
|
*/
|
|
});
|
|
|
|
export default PostItemView;
|