| |
@@ -221,13 +221,15 @@
|
| |
aria-expanded="false" aria-controls="moregiturls"
|
| |
id="more_gits">more</a></span>{%endif%}</h5>
|
| |
<div>
|
| |
+ {% if authenticated and g.repo_committer %}
|
| |
<div class="form-group">
|
| |
<div class="input-group input-group-sm">
|
| |
<div class="input-group-addon">SSH</div>
|
| |
<input class="form-control" type="text" value="{{
|
| |
- config.get('GIT_URL_SSH') }}{{ repo.fullname }}.git" readonly>
|
| |
+ git_url_ssh }}{{ repo.fullname }}.git" readonly>
|
| |
</div>
|
| |
</div>
|
| |
+ {% endif %}
|
| |
<div class="form-group">
|
| |
<div class="input-group input-group-sm">
|
| |
<div class="input-group-addon">GIT</div>
|
| |
@@ -245,7 +247,7 @@
|
| |
<div class="input-group input-group-sm">
|
| |
<div class="input-group-addon">SSH</div>
|
| |
<input class="form-control" type="text" value="{{
|
| |
- config.get('GIT_URL_SSH') }}docs/{{ repo.fullname }}.git" readonly>
|
| |
+ git_url_ssh }}docs/{{ repo.fullname }}.git" readonly>
|
| |
</div>
|
| |
</div>
|
| |
{% endif %}
|
| |
@@ -265,7 +267,7 @@
|
| |
<div class="input-group input-group-sm">
|
| |
<div class="input-group-addon">SSH</div>
|
| |
<input class="form-control" type="text" value="{{
|
| |
- config.get('GIT_URL_SSH') }}tickets/{{ repo.fullname }}.git" readonly>
|
| |
+ git_url_ssh }}tickets/{{ repo.fullname }}.git" readonly>
|
| |
</div>
|
| |
</div>
|
| |
{% endif %}
|
| |
@@ -274,7 +276,7 @@
|
| |
<div class="input-group input-group-sm">
|
| |
<div class="input-group-addon">SSH</div>
|
| |
<input class="form-control" type="text" value="{{
|
| |
- config.get('GIT_URL_SSH') }}requests/{{ repo.fullname }}.git" readonly>
|
| |
+ git_url_ssh }}requests/{{ repo.fullname }}.git" readonly>
|
| |
</div>
|
| |
</div>
|
| |
{% endif %}
|
| |