Преглед изворни кода

Merge pull request #8958 from overleaf/msm-sp-license-tab

[web] Activity column and license info for Server Pro admin

GitOrigin-RevId: cea736e23440a5d455aacd5c0cf29820604ff29b
Miguel Serrano пре 4 година
родитељ
комит
d2ccd3a3c0

+ 3 - 0
services/web/frontend/extracted-translations.json

@@ -426,6 +426,9 @@
   "send_first_message": "",
   "send_first_message": "",
   "sending": "",
   "sending": "",
   "server_error": "",
   "server_error": "",
+  "server_pro_license_entitlement_line_1": "",
+  "server_pro_license_entitlement_line_2": "",
+  "server_pro_license_entitlement_line_3": "",
   "session_error": "",
   "session_error": "",
   "session_expired_redirecting_to_login": "",
   "session_expired_redirecting_to_login": "",
   "sessions": "",
   "sessions": "",

+ 3 - 0
services/web/frontend/stylesheets/core/type.less

@@ -142,6 +142,9 @@ cite {
 .text-justify {
 .text-justify {
   text-align: justify;
   text-align: justify;
 }
 }
+.text-right-to-left {
+  direction: rtl;
+}
 @media (min-width: @screen-md-min) {
 @media (min-width: @screen-md-min) {
   .text-md-right {
   .text-md-right {
     text-align: right;
     text-align: right;

+ 4 - 1
services/web/locales/en.json

@@ -1798,5 +1798,8 @@
   "show_your_support": "Show your support",
   "show_your_support": "Show your support",
   "approaching_compile_timeout_limit_upgrade_for_more_compile_time": "You are approaching your compile timeout limit. Upgrade to <strong>Overleaf Premium</strong> for <0>4x more</0> compile time.",
   "approaching_compile_timeout_limit_upgrade_for_more_compile_time": "You are approaching your compile timeout limit. Upgrade to <strong>Overleaf Premium</strong> for <0>4x more</0> compile time.",
   "access_denied": "Access Denied",
   "access_denied": "Access Denied",
-  "the_project_that_contains_this_file_is_not_shared_with_you": "The project that contains this file is not shared with you"
+  "the_project_that_contains_this_file_is_not_shared_with_you": "The project that contains this file is not shared with you",
+  "server_pro_license_entitlement_line_1": "<0>__appName__</0> Server Pro license",
+  "server_pro_license_entitlement_line_2": "You currently have <0>__count__ active users</0>. If you need to increase your license entitlement, please <1>contact Overleaf</1>.",
+  "server_pro_license_entitlement_line_3": "An active user is one who has opened a project in this Server Pro instance in the last 12 months."
 }
 }