Fixes HTTP(S) label to represent SSL status

This commit is contained in:
Nicolas Da Mutten
2017-01-08 18:14:24 +01:00
parent a47fc10717
commit f6d4bed4cd
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@
<button type="button" class="btn btn-default{{ app.show_ssh_remote and app.show_http_remote ? ' active' }}" id="clone-button-ssh">SSH</button> <button type="button" class="btn btn-default{{ app.show_ssh_remote and app.show_http_remote ? ' active' }}" id="clone-button-ssh">SSH</button>
{% endif %} {% endif %}
{% if app.show_http_remote %} {% if app.show_http_remote %}
<button type="button" class="btn btn-default" id="clone-button-http">HTTPS</button> <button type="button" class="btn btn-default" id="clone-button-http">HTTP{{ app.use_https ? 'S' }}</button>
{% endif %} {% endif %}
</div><br /> </div><br />
{% if app.show_ssh_remote %} {% if app.show_ssh_remote %}

View File

@@ -26,7 +26,7 @@
<button class="btn{{ app.show_ssh_remote and app.show_http_remote ? ' active' }}" id="clone-button-ssh">SSH</button> <button class="btn{{ app.show_ssh_remote and app.show_http_remote ? ' active' }}" id="clone-button-ssh">SSH</button>
{% endif %} {% endif %}
{% if app.show_http_remote %} {% if app.show_http_remote %}
<button class="btn" id="clone-button-http">HTTPS</button> <button class="btn" id="clone-button-http">HTTP{{ app.use_https ? 'S' }}</button>
{% endif %} {% endif %}
</div><br /> </div><br />
{% if app.show_ssh_remote %} {% if app.show_ssh_remote %}