1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Admin Portal - Profile

This commit is contained in:
hillelcoren 2022-10-10 19:17:47 +00:00
parent f35fc55300
commit 915099dd2d

View File

@ -424512,18 +424512,21 @@
t9 = t6.uiState.selectedCompanyIndex;
t5 = t5._list;
t10 = A.Text$(t5[t9].userCompany.user.get$fullName(), _null, _null, _null, _null, _null, _null, _null, _null, _null);
t10 = A.ListTile$(false, B.EdgeInsets_0_0_0_0, _null, _null, true, _null, _null, false, _null, _null, _null, _null, false, _null, _null, A.Text$(t5[t9].userCompany.user.email, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, t10, _null, _null);
t11 = J.$index$asx(t2.$index(0, t3), "app_platforms");
if (t11 == null)
t11 = "";
t11 = A._setArrayType([t8, new A.SizedBox(_null, 8, _null, _null), t10, new A.Padding(B.EdgeInsets_0_4_0_0, new A.AppButton(_null, B._MdiIconData_EuK, t11.toUpperCase(), new A._showAbout__closure3(context, t1), _null, _null), _null), new A.AppButton(B.MaterialColor_Map_JN94k_4278238420, B._MdiIconData_egL0, t1.get$releaseNotes().toUpperCase(), new A._showAbout__closure4(), _null, _null)], t7);
t10 = A._setArrayType([t8, new A.SizedBox(_null, 8, _null, _null), A.ListTile$(false, B.EdgeInsets_0_0_0_0, _null, _null, true, _null, _null, false, _null, _null, _null, _null, false, _null, _null, A.Text$(t5[t9].userCompany.user.email, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, t10, _null, _null)], t7);
if (!A.isApple()) {
t8 = J.$index$asx(t2.$index(0, t3), "app_platforms");
if (t8 == null)
t8 = "";
t10.push(new A.Padding(B.EdgeInsets_0_4_0_0, new A.AppButton(_null, B._MdiIconData_EuK, t8.toUpperCase(), new A._showAbout__closure3(context, t1), _null, _null), _null));
}
t10.push(new A.AppButton(B.MaterialColor_Map_JN94k_4278238420, B._MdiIconData_egL0, t1.get$releaseNotes().toUpperCase(), new A._showAbout__closure4(), _null, _null));
t6.get$isHosted();
t8 = J.$index$asx(t2.$index(0, t3), "health_check");
if (t8 == null)
t8 = "";
t8 = A._setArrayType([new A.AppButton(B.MaterialColor_Map_JNEaM_4283215696, B._MdiIconData_2Nv, t8.toUpperCase(), new A._showAbout__closure5(context), _null, _null)], t7);
t10 = t5[t9].userCompany.account;
if (!t10.disableAutoUpdate && !t10.isDocker) {
t11 = t5[t9].userCompany.account;
if (!t11.disableAutoUpdate && !t11.isDocker) {
if (t6.get$isUpdateAvailable()) {
t1 = J.$index$asx(t2.$index(0, t3), "update_app");
if (t1 == null)
@ -424532,18 +424535,18 @@
t1 = t1.get$forceUpdate();
t8.push(new A.AppButton(B.MaterialColor_Map_JNZaB_4294940672, B._MdiIconData_egL1, t1.toUpperCase(), new A._showAbout__closure6(context), _null, _null));
}
B.JSArray_methods.addAll$1(t11, t8);
B.JSArray_methods.addAll$1(t10, t8);
t1 = t5[t9].userCompany.company;
t1.toString;
if (B.JSInt_methods._tdivFast$1(A.Duration$(0, 0, 0, Date.now() - A.convertTimestampToDate(t1.createdAt)._value, 0, 0)._duration, 864e8) > 30) {
t1 = J.$index$asx(t2.$index(0, t3), _s10_);
if (t1 == null)
t1 = J.$index$asx(t2.$index(0, "en"), _s10_);
t11.push(new A.AppButton(B.MaterialColor_Map_JNNS7_4288423856, B.IconData_58873_MaterialIcons_null_false, t1.toUpperCase(), new A._showAbout__closure7(context), _null, _null));
t10.push(new A.AppButton(B.MaterialColor_Map_JNNS7_4288423856, B.IconData_58873_MaterialIcons_null_false, t1.toUpperCase(), new A._showAbout__closure7(context), _null, _null));
}
t11.push(new A.SizedBox(_null, 22, _null, _null));
t11.push(A.Wrap$(B.WrapAlignment_2, A._setArrayType([A.IconButton$(B.Alignment_0_0, _null, _null, true, A.Icon$(B._MdiIconData_SXh, _null, _null), _null, new A._showAbout__closure8(), B.EdgeInsets_8_8_8_8, _null, "Twitter", _null), A.IconButton$(B.Alignment_0_0, _null, _null, true, A.Icon$(B._MdiIconData_sUr, _null, _null), _null, new A._showAbout__closure9(), B.EdgeInsets_8_8_8_8, _null, "Facebook", _null), A.IconButton$(B.Alignment_0_0, _null, _null, true, A.Icon$(B._MdiIconData_aAu, _null, _null), _null, new A._showAbout__closure10(), B.EdgeInsets_8_8_8_8, _null, "GitHub", _null), A.IconButton$(B.Alignment_0_0, _null, _null, true, A.Icon$(B._MdiIconData_7vC, _null, _null), _null, new A._showAbout__closure11(), B.EdgeInsets_8_8_8_8, _null, "YouTube", _null), A.IconButton$(B.Alignment_0_0, _null, _null, true, A.Icon$(B._MdiIconData_AmO, _null, _null), _null, new A._showAbout__closure12(), B.EdgeInsets_8_8_8_8, _null, "Slack", _null)], t7), B.Clip_0, B.WrapCrossAlignment_0, 0));
return A.PointerInterceptor$(A.AlertDialog$(t4, _null, _null, A.SingleChildScrollView$(A.Column$(t11, B.CrossAxisAlignment_3, _null, B.MainAxisAlignment_0, B.MainAxisSize_0, B.VerticalDirection_1), _null, B.DragStartBehavior_1, _null, _null, _null, _null, false, B.Axis_1), _null, _null, _null));
t10.push(new A.SizedBox(_null, 22, _null, _null));
t10.push(A.Wrap$(B.WrapAlignment_2, A._setArrayType([A.IconButton$(B.Alignment_0_0, _null, _null, true, A.Icon$(B._MdiIconData_SXh, _null, _null), _null, new A._showAbout__closure8(), B.EdgeInsets_8_8_8_8, _null, "Twitter", _null), A.IconButton$(B.Alignment_0_0, _null, _null, true, A.Icon$(B._MdiIconData_sUr, _null, _null), _null, new A._showAbout__closure9(), B.EdgeInsets_8_8_8_8, _null, "Facebook", _null), A.IconButton$(B.Alignment_0_0, _null, _null, true, A.Icon$(B._MdiIconData_aAu, _null, _null), _null, new A._showAbout__closure10(), B.EdgeInsets_8_8_8_8, _null, "GitHub", _null), A.IconButton$(B.Alignment_0_0, _null, _null, true, A.Icon$(B._MdiIconData_7vC, _null, _null), _null, new A._showAbout__closure11(), B.EdgeInsets_8_8_8_8, _null, "YouTube", _null), A.IconButton$(B.Alignment_0_0, _null, _null, true, A.Icon$(B._MdiIconData_AmO, _null, _null), _null, new A._showAbout__closure12(), B.EdgeInsets_8_8_8_8, _null, "Slack", _null)], t7), B.Clip_0, B.WrapCrossAlignment_0, 0));
return A.PointerInterceptor$(A.AlertDialog$(t4, _null, _null, A.SingleChildScrollView$(A.Column$(t10, B.CrossAxisAlignment_3, _null, B.MainAxisAlignment_0, B.MainAxisSize_0, B.VerticalDirection_1), _null, B.DragStartBehavior_1, _null, _null, _null, _null, false, B.Axis_1), _null, _null, _null));
},
$signature: 649
};