diff options
author | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2021-09-07 16:41:53 +0000 |
---|---|---|
committer | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2021-09-07 16:41:53 +0000 |
commit | 6b3842cf50c063a63980c8d4dca93b25424059f2 (patch) | |
tree | 3efa04b024061a04a1cd09fc0179dca09149dbb9 /priv/static/packs/modals/mute_modal.js | |
parent | 6b1282a8297e7767d77b748f89d7d001716c94bd (diff) | |
parent | 1841bd8383d7734cb74cff91f61dc7e1fdfad13d (diff) | |
download | pleroma-6b3842cf50c063a63980c8d4dca93b25424059f2.tar.gz pleroma-6b3842cf50c063a63980c8d4dca93b25424059f2.zip |
Merge branch 'remove/mastofe' into 'develop'
Remove MastoFE from Pleroma, fixes #2625
Closes #2625
See merge request pleroma/pleroma!3392
Diffstat (limited to 'priv/static/packs/modals/mute_modal.js')
-rw-r--r-- | priv/static/packs/modals/mute_modal.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/priv/static/packs/modals/mute_modal.js b/priv/static/packs/modals/mute_modal.js deleted file mode 100644 index d239d0dab..000000000 --- a/priv/static/packs/modals/mute_modal.js +++ /dev/null @@ -1,2 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[242],{829:function(t,e,o){"use strict";o.r(e),o.d(e,"default",(function(){return j}));var n,a=o(0),i=o(2),c=(o(9),o(6),o(8)),s=o(1),l=o(3),u=o.n(l),d=o(15),r=o(7),m=o(307),f=o.n(m),b=o(110),p=o(48),g=o(26),h=o(212);var j=Object(d.connect)((function(t){return{account:t.getIn(["mutes","new","account"]),notifications:t.getIn(["mutes","new","notifications"])}}),(function(t){return{onConfirm:function(e,o){t(Object(g.G)(e.get("id"),o))},onClose:function(){t(Object(p.c)())},onToggleNotifications:function(){t(Object(h.h)())}}}))(n=Object(r.g)(n=function(t){Object(c.a)(o,t);var e;e=o;function o(){for(var e,o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n))||this,Object(s.a)(Object(i.a)(e),"handleClick",(function(){e.props.onClose(),e.props.onConfirm(e.props.account,e.props.notifications)})),Object(s.a)(Object(i.a)(e),"handleCancel",(function(){e.props.onClose()})),Object(s.a)(Object(i.a)(e),"setRef",(function(t){e.button=t})),Object(s.a)(Object(i.a)(e),"toggleNotifications",(function(){e.props.onToggleNotifications()})),e}var n=o.prototype;return n.componentDidMount=function(){this.button.focus()},n.render=function(){var t=this.props,e=t.account,o=t.notifications;return(Object(a.a)("div",{className:"modal-root__modal mute-modal"},void 0,Object(a.a)("div",{className:"mute-modal__container"},void 0,Object(a.a)("p",{},void 0,Object(a.a)(r.b,{id:"confirmations.mute.message",defaultMessage:"Are you sure you want to mute {name}?",values:{name:Object(a.a)("strong",{},void 0,"@",e.get("acct"))}})),Object(a.a)("p",{className:"mute-modal__explanation"},void 0,Object(a.a)(r.b,{id:"confirmations.mute.explanation",defaultMessage:"This will hide posts from them and posts mentioning them, but it will still allow them to see your posts and follow you."})),Object(a.a)("div",{className:"setting-toggle"},void 0,Object(a.a)(f.a,{id:"mute-modal__hide-notifications-checkbox",checked:o,onChange:this.toggleNotifications}),Object(a.a)("label",{className:"setting-toggle__label",htmlFor:"mute-modal__hide-notifications-checkbox"},void 0,Object(a.a)(r.b,{id:"mute_modal.hide_notifications",defaultMessage:"Hide notifications from this user?"})))),Object(a.a)("div",{className:"mute-modal__action-bar"},void 0,Object(a.a)(b.a,{onClick:this.handleCancel,className:"mute-modal__cancel-button"},void 0,Object(a.a)(r.b,{id:"confirmation_modal.cancel",defaultMessage:"Cancel"})),u.a.createElement(b.a,{onClick:this.handleClick,ref:this.setRef},Object(a.a)(r.b,{id:"confirmations.mute.confirm",defaultMessage:"Mute"})))))},o}(u.a.PureComponent))||n)||n}}]); -//# sourceMappingURL=mute_modal.js.map
\ No newline at end of file |