Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

Commit

Permalink
show friendly message for empty selection suggested by @nopdotcom
Browse files Browse the repository at this point in the history
  • Loading branch information
alimakki committed Oct 14, 2018
1 parent f5d1915 commit a7b6f41
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions playbooks/roles/openconnect/templates/instructions-fr.md.j2
Expand Up @@ -69,7 +69,7 @@ OpenConnect est un serveur VPN extrêmement performant et léger qui offre une c
#### OpenConnect CLI

<select id="macos-cli-select" onchange="showInstructions(this)">
<option value="macos-cli-none" selected></option>
<option value="macos-cli-none" selected>- Profile clients...</option>
{% for client in vpn_client_pkcs12_password_list.results %}
<option value="macos-cli-{{ client.client_name.stdout }}">
{{ loop.index }} - {{ client.client_name.stdout }}
Expand Down Expand Up @@ -133,7 +133,7 @@ Vous devriez être prêt à partir ! Vous pouvez vérifier que votre trafic est
#### OpenConnect CLI

<select id="linux-cli-select" onchange="showInstructions(this)">
<option value="linux-cli-none"></option>
<option value="linux-cli-none">- Profile clients...</option>
{% for client in vpn_client_pkcs12_password_list.results %}
<option value="linux-cli-{{ client.client_name.stdout }}">
{{ loop.index }} - {{ client.client_name.stdout }}
Expand Down Expand Up @@ -170,7 +170,7 @@ Vous devriez être prêt à partir ! Vous pouvez vérifier que votre trafic est
### Android ###

<select id="android-select" onchange="showInstructions(this)">
<option value="android-select-none"></option>
<option value="android-select-none">- Profile clients...</option>
{% for client in vpn_client_pkcs12_password_list.results %}
<option value="android-select-{{ client.client_name.stdout }}">
{{ loop.index }} - {{ client.client_name.stdout }}
Expand Down Expand Up @@ -227,7 +227,7 @@ Si vous êtes affecté, vous pouvez utiliser cette solution alternatif:
### iOS ###

<select id="ios-select" onchange="showInstructions(this)">
<option value="ios-select-none"></option>
<option value="ios-select-none">- Profile clients...</option>
{% for client in vpn_client_pkcs12_password_list.results %}
<option value="ios-select-{{ client.client_name.stdout }}">
{{ loop.index }} - {{ client.client_name.stdout }}
Expand Down
8 changes: 4 additions & 4 deletions playbooks/roles/openconnect/templates/instructions.md.j2
Expand Up @@ -68,7 +68,7 @@ OpenConnect is an extremely high-performance and lightweight VPN server that als
#### OpenConnect CLI

<select id="macos-cli-select" onchange="showInstructions(this)">
<option value="macos-cli-none" selected></option>
<option value="macos-cli-none" selected>- Client profiles...</option>
{% for client in vpn_client_pkcs12_password_list.results %}
<option value="macos-cli-{{ client.client_name.stdout }}">
{{ loop.index }} - {{ client.client_name.stdout }}
Expand Down Expand Up @@ -131,7 +131,7 @@ You should be good to go! You can verify that your traffic is being routed prope
#### OpenConnect CLI

<select id="linux-cli-select" onchange="showInstructions(this)">
<option value="linux-cli-none"></option>
<option value="linux-cli-none">- Client profiles...</option>
{% for client in vpn_client_pkcs12_password_list.results %}
<option value="linux-cli-{{ client.client_name.stdout }}">
{{ loop.index }} - {{ client.client_name.stdout }}
Expand Down Expand Up @@ -166,7 +166,7 @@ You should be good to go! You can verify that your traffic is being routed prope
### Android ###

<select id="android-select" onchange="showInstructions(this)">
<option value="android-select-none"></option>
<option value="android-select-none">- Client profiles...</option>
{% for client in vpn_client_pkcs12_password_list.results %}
<option value="android-select-{{ client.client_name.stdout }}">
{{ loop.index }} - {{ client.client_name.stdout }}
Expand Down Expand Up @@ -222,7 +222,7 @@ If you're affected, you can use this workaround:
### iOS ###

<select id="ios-select" onchange="showInstructions(this)">
<option value="ios-select-none"></option>
<option value="ios-select-none">- Client profiles...</option>
{% for client in vpn_client_pkcs12_password_list.results %}
<option value="ios-select-{{ client.client_name.stdout }}">
{{ loop.index }} - {{ client.client_name.stdout }}
Expand Down

0 comments on commit a7b6f41

Please sign in to comment.