X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=priv%2Fstatic%2Fpacks%2Ffeatures%2Ffollow_requests.js;h=902c02d13f089b9405538e3a70ce83c01e3e590e;hb=283fb1e05bcd34294ea7bdedab62b0cc6f88d742;hp=0ab172a3220b57324d4e10d3faffe04df22b2d1f;hpb=38361e7b5e24cbbd4654bd76fce4b3c66562ab59;p=akkoma diff --git a/priv/static/packs/features/follow_requests.js b/priv/static/packs/features/follow_requests.js index 0ab172a32..902c02d13 100644 --- a/priv/static/packs/features/follow_requests.js +++ b/priv/static/packs/features/follow_requests.js @@ -1,2 +1,2 @@ -webpackJsonp([23],{1002:function(n,t,e){"use strict";var o=e(9),c=e(67),a=e(1003),i=e(22),r=function(){var n=Object(c.c)();return function(t,e){return{account:n(t,e.id)}}},u=function(n,t){var e=t.id;return{onAuthorize:function(){n(Object(i.p)(e))},onReject:function(){n(Object(i.B)(e))}}};t.a=Object(o.connect)(r,u)(a.a)},1003:function(n,t,e){"use strict";e.d(t,"a",function(){return q});var o,c,a,i=e(2),r=e.n(i),u=e(1),l=e.n(u),s=e(3),d=e.n(s),f=e(4),h=e.n(f),p=e(0),v=(e.n(p),e(5)),b=e.n(v),m=e(14),_=e.n(m),y=e(287),g=e(54),j=e(53),k=e(23),w=e(7),C=e(12),N=e.n(C),O=Object(w.f)({authorize:{id:"follow_request.authorize",defaultMessage:"Authorize"},reject:{id:"follow_request.reject",defaultMessage:"Reject"}}),q=Object(w.g)((a=c=function(n){function t(){return l()(this,t),d()(this,n.apply(this,arguments))}return h()(t,n),t.prototype.render=function(){var n=this.props,t=n.intl,e=n.account,o=n.onAuthorize,c=n.onReject,a={__html:e.get("note_emojified")};return r()("div",{className:"account-authorize__wrapper"},void 0,r()("div",{className:"account-authorize"},void 0,r()(y.a,{href:e.get("url"),to:"/accounts/"+e.get("id"),className:"detailed-status__display-name"},void 0,r()("div",{className:"account-authorize__avatar"},void 0,r()(g.a,{account:e,size:48})),r()(j.a,{account:e})),r()("div",{className:"account__header__content",dangerouslySetInnerHTML:a})),r()("div",{className:"account--panel"},void 0,r()("div",{className:"account--panel__button"},void 0,r()(k.a,{title:t.formatMessage(O.authorize),icon:"check",onClick:o})),r()("div",{className:"account--panel__button"},void 0,r()(k.a,{title:t.formatMessage(O.reject),icon:"times",onClick:c}))))},t}(N.a),c.propTypes={account:_.a.map.isRequired,onAuthorize:b.a.func.isRequired,onReject:b.a.func.isRequired,intl:b.a.object.isRequired},o=a))||o},155:function(n,t,e){"use strict";e.d(t,"a",function(){return v});var o=e(2),c=e.n(o),a=e(1),i=e.n(a),r=e(3),u=e.n(r),l=e(4),s=e.n(l),d=e(0),f=e.n(d),h=e(10),p=e.n(h),v=function(n){function t(){var e,o,c;i()(this,t);for(var a=arguments.length,r=Array(a),l=0;l