2023-11-07 16:29:17 +00:00
|
|
|
const
|
|
|
|
mobile = require( 'mobile.startup' ),
|
|
|
|
View = mobile.View;
|
2018-11-24 01:49:47 +00:00
|
|
|
|
2023-11-07 16:29:17 +00:00
|
|
|
/**
|
|
|
|
* IssueNotice
|
|
|
|
*
|
2024-06-26 13:23:40 +00:00
|
|
|
* @class
|
|
|
|
* @ignore
|
2023-11-07 16:29:17 +00:00
|
|
|
* @extends View
|
|
|
|
*
|
|
|
|
* @param {IssueSummary} props
|
|
|
|
*/
|
2024-12-05 01:26:20 +00:00
|
|
|
class IssueNotice extends View {
|
|
|
|
constructor( props ) {
|
|
|
|
super( props );
|
|
|
|
}
|
|
|
|
|
|
|
|
get tagName() {
|
|
|
|
return 'li';
|
|
|
|
}
|
|
|
|
|
|
|
|
get template() {
|
|
|
|
return mw.template.get( 'skins.minerva.scripts', 'IssueNotice.mustache' );
|
|
|
|
}
|
|
|
|
|
|
|
|
postRender() {
|
|
|
|
super.postRender();
|
|
|
|
this.$el.find( '.issue-notice' ).prepend( this.options.issue.iconElement );
|
|
|
|
}
|
2023-11-07 16:29:17 +00:00
|
|
|
}
|
2024-12-05 01:26:20 +00:00
|
|
|
|
2023-11-07 16:29:17 +00:00
|
|
|
module.exports = IssueNotice;
|