mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 11:48:26 -06:00
Remove unused PrependPostView
This commit is contained in:
parent
e7f349ff0f
commit
323aea78e2
@ -34,7 +34,6 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<div {{bindAttr class="showUserReplyTab:avoid-tab view.repliesHidden:bottom-round :contents :regular view.extraClass"}}>
|
<div {{bindAttr class="showUserReplyTab:avoid-tab view.repliesHidden:bottom-round :contents :regular view.extraClass"}}>
|
||||||
{{view Discourse.PrependPostView postBinding="this"}}
|
|
||||||
{{#unless controller.multiSelect}}
|
{{#unless controller.multiSelect}}
|
||||||
<div class='topic-meta-data-inside'>
|
<div class='topic-meta-data-inside'>
|
||||||
{{#if hasHistory}}
|
{{#if hasHistory}}
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
This view allows us to prepend content to a post (for use in plugins)
|
|
||||||
|
|
||||||
@class PrependPostView
|
|
||||||
@extends Discourse.ContainerView
|
|
||||||
@namespace Discourse
|
|
||||||
@module Discourse
|
|
||||||
**/
|
|
||||||
Discourse.PrependPostView = Discourse.ContainerView.extend({
|
|
||||||
init: function() {
|
|
||||||
this._super();
|
|
||||||
return this.trigger('prependPostContent');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user