Move ephemeral port help link out of the translation

This commit is contained in:
Johannes Zellner
2025-10-14 10:23:34 +02:00
parent 27c3170c80
commit 579dc4959b
4 changed files with 69 additions and 45 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ const udpPorts = defineModel('udp');
<small class="has-error" v-if="error.port === port.value">Port already taken {{ port }}</small>
<NumberInput v-model="port.value" :disabled="!port.enabled" :min="1"/>
<!-- 3276860999 (inclusive) is the usual ephemeral port range -->
<div class="warning-label" v-if="[port.value, port.value + port.portCount].some(p => p >= 32768 && p <= 60999)" v-html="$t('appstore.installDialog.ephemeralPortWarning')"></div>
<div class="warning-label" v-if="[port.value, port.value + port.portCount].some(p => p >= 32768 && p <= 60999)">{{ $t('appstore.installDialog.ephemeralPortWarning') }} <sup><a href="https://docs.cloudron.io/apps/#port-bindings" class="help" target="_blank" tabindex="-1"><i class="fa fa-question-circle"></i></a></sup></div>
<div class="warning-label" v-if="domainProvider === 'cloudflare'">{{ $t('appstore.installDialog.cloudflarePortWarning') }}</div>
</FormGroup>
</div>