diff --git a/apps/i18n/core/en/LC_MESSAGES/django.po b/apps/i18n/core/en/LC_MESSAGES/django.po index 7ec8d012a..ba5023093 100644 --- a/apps/i18n/core/en/LC_MESSAGES/django.po +++ b/apps/i18n/core/en/LC_MESSAGES/django.po @@ -8941,6 +8941,10 @@ msgstr "" msgid "Client, currently used to launch the client" msgstr "" +#: templates/resource_download.html:32 +msgid "More download" +msgstr "More downloads" + #: terminal/api/applet/applet.py:55 terminal/api/virtualapp/virtualapp.py:43 msgid "Invalid zip file" msgstr "" diff --git a/apps/i18n/core/es/LC_MESSAGES/django.po b/apps/i18n/core/es/LC_MESSAGES/django.po index d547612ea..eac739e00 100644 --- a/apps/i18n/core/es/LC_MESSAGES/django.po +++ b/apps/i18n/core/es/LC_MESSAGES/django.po @@ -9732,6 +9732,10 @@ msgstr "" "Cliente, actualmente utilizado para invocar un programa cliente específico " "para conectar activos" +#: templates/resource_download.html:32 +msgid "More download" +msgstr "Más descargas" + #: terminal/api/applet/applet.py:55 terminal/api/virtualapp/virtualapp.py:43 msgid "Invalid zip file" msgstr "archivo zip inválido" diff --git a/apps/i18n/core/ja/LC_MESSAGES/django.po b/apps/i18n/core/ja/LC_MESSAGES/django.po index 8ced87e24..d92c5199b 100644 --- a/apps/i18n/core/ja/LC_MESSAGES/django.po +++ b/apps/i18n/core/ja/LC_MESSAGES/django.po @@ -9368,6 +9368,10 @@ msgstr "" "クライアントは、特定のクライアントプログラムを呼び起こして資産に接続するため" "に使用されます" +#: templates/resource_download.html:32 +msgid "More download" +msgstr "その他のダウンロード" + #: terminal/api/applet/applet.py:55 terminal/api/virtualapp/virtualapp.py:43 msgid "Invalid zip file" msgstr "zip ファイルが無効です" diff --git a/apps/i18n/core/ko/LC_MESSAGES/django.po b/apps/i18n/core/ko/LC_MESSAGES/django.po index 26c0c7984..9799aa6b3 100644 --- a/apps/i18n/core/ko/LC_MESSAGES/django.po +++ b/apps/i18n/core/ko/LC_MESSAGES/django.po @@ -9362,6 +9362,10 @@ msgid "Client, currently used to launch the client" msgstr "" "클라이언트, 현재 특정 클라이언트 프로그램을 호출하여 자산에 연결하고 있습니다" +#: templates/resource_download.html:32 +msgid "More download" +msgstr "추가 다운로드" + #: terminal/api/applet/applet.py:55 terminal/api/virtualapp/virtualapp.py:43 msgid "Invalid zip file" msgstr "유효하지 않은 zip 파일" diff --git a/apps/i18n/core/pt_BR/LC_MESSAGES/django.po b/apps/i18n/core/pt_BR/LC_MESSAGES/django.po index d25482a85..62b74fdd5 100644 --- a/apps/i18n/core/pt_BR/LC_MESSAGES/django.po +++ b/apps/i18n/core/pt_BR/LC_MESSAGES/django.po @@ -9475,6 +9475,10 @@ msgstr "" "Cliente, atualmente utilizado para invocar um programa cliente específico " "para conectar ativos" +#: templates/resource_download.html:32 +msgid "More download" +msgstr "Mais downloads" + #: terminal/api/applet/applet.py:55 terminal/api/virtualapp/virtualapp.py:43 msgid "Invalid zip file" msgstr "Arquivo zip inválido" diff --git a/apps/i18n/core/ru/LC_MESSAGES/django.po b/apps/i18n/core/ru/LC_MESSAGES/django.po index 95ea1b935..d651bdd18 100644 --- a/apps/i18n/core/ru/LC_MESSAGES/django.po +++ b/apps/i18n/core/ru/LC_MESSAGES/django.po @@ -9487,6 +9487,10 @@ msgstr "" "Клиент в настоящее время используется для запуска конкретной клиентской " "программы для подключения к активам" +#: templates/resource_download.html:32 +msgid "More download" +msgstr "Дополнительные загрузки" + #: terminal/api/applet/applet.py:55 terminal/api/virtualapp/virtualapp.py:43 msgid "Invalid zip file" msgstr "Неверный zip файл" diff --git a/apps/i18n/core/vi/LC_MESSAGES/django.po b/apps/i18n/core/vi/LC_MESSAGES/django.po index 9b22b7e04..f1b73131a 100644 --- a/apps/i18n/core/vi/LC_MESSAGES/django.po +++ b/apps/i18n/core/vi/LC_MESSAGES/django.po @@ -9479,6 +9479,10 @@ msgstr "" "Khách hàng, hiện đang được sử dụng để khởi động chương trình khách hàng cụ " "thể kết nối với tài sản" +#: templates/resource_download.html:32 +msgid "More download" +msgstr "Tải xuống thêm" + #: terminal/api/applet/applet.py:55 terminal/api/virtualapp/virtualapp.py:43 msgid "Invalid zip file" msgstr "Tệp zip không hợp lệ" diff --git a/apps/i18n/core/zh/LC_MESSAGES/django.po b/apps/i18n/core/zh/LC_MESSAGES/django.po index 12093100d..42fce58ac 100644 --- a/apps/i18n/core/zh/LC_MESSAGES/django.po +++ b/apps/i18n/core/zh/LC_MESSAGES/django.po @@ -9122,6 +9122,10 @@ msgstr "客户端" msgid "Client, currently used to launch the client" msgstr "客户端,目前用来唤起 特定客户端程序 连接资产" +#: templates/resource_download.html:32 +msgid "More download" +msgstr "更多下载" + #: terminal/api/applet/applet.py:55 terminal/api/virtualapp/virtualapp.py:43 msgid "Invalid zip file" msgstr "无效的 zip 文件" diff --git a/apps/i18n/core/zh_Hant/LC_MESSAGES/django.po b/apps/i18n/core/zh_Hant/LC_MESSAGES/django.po index b0d82b914..971c7f22c 100644 --- a/apps/i18n/core/zh_Hant/LC_MESSAGES/django.po +++ b/apps/i18n/core/zh_Hant/LC_MESSAGES/django.po @@ -9132,6 +9132,10 @@ msgstr "用戶端" msgid "Client, currently used to launch the client" msgstr "客戶端,目前用來喚起特定客戶端程式連接資產" +#: templates/resource_download.html:32 +msgid "More download" +msgstr "更多下載" + #: terminal/api/applet/applet.py:55 terminal/api/virtualapp/virtualapp.py:43 msgid "Invalid zip file" msgstr "無效的 zip 文件" diff --git a/apps/jumpserver/views/other.py b/apps/jumpserver/views/other.py index 976468ecc..e4dab34c5 100644 --- a/apps/jumpserver/views/other.py +++ b/apps/jumpserver/views/other.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- # import re +import os from urllib.parse import urlparse from django.conf import settings @@ -99,6 +100,7 @@ class ResourceDownload(TemplateView): @lazyproperty def versions_content(self): + more_downloads = os.environ.get('MORE_DOWNLOADS_URL') return f""" MRD_VERSION=10.6.7 OPENSSH_VERSION=v9.4.0.0 @@ -106,6 +108,7 @@ class ResourceDownload(TemplateView): VIDEO_PLAYER_VERSION=0.5.2 CLIENT_VERSION=4.1.3 VENDOR={settings.VENDOR} + MORE_DOWNLOADS_URL={more_downloads} """ def get_meta_json(self): diff --git a/apps/templates/resource_download.html b/apps/templates/resource_download.html index 83dcbce6d..f0ea3d04b 100644 --- a/apps/templates/resource_download.html +++ b/apps/templates/resource_download.html @@ -26,6 +26,15 @@ p {
  • {{ VENDOR }}Client_{{ CLIENT_VERSION }}_aarch64.dmg
  • + + {% if MORE_DOWNLOADS_URL %} +
    +

    {% trans 'More download' %}

    + +
    + {% endif %}