fix link to anonymized repository and page

This commit is contained in:
tdurieux
2021-04-19 10:33:25 +02:00
parent 906910d139
commit 0e5dc0a0bf
2 changed files with 7 additions and 14 deletions

View File

@@ -194,26 +194,19 @@
</a>
<a
class="dropdown-item"
href="/r/{{repo.repoId}}"
href="/r/{{repo.repoId}}/"
target="_self"
>
<i class="fa fa-eye" aria-hidden="true"></i> View Repo
</a>
<a
class="dropdown-item"
href="/w/{{repo.repoId}}"
href="/w/{{repo.repoId}}/"
target="_self"
ng-if="repo.options.page"
>
<i class="fa fa-globe" aria-hidden="true"></i> View Page
</a>
<a
class="dropdown-item"
href="/w/{{repo.repoId}}"
target="_self"
ng-if="repo.options.page"
>View GitHub Page</a
>
</div>
</div>
</td>

View File

@@ -25,27 +25,27 @@
<p>
Your repository will be available at
<a href="/r/{{repoId}}" target="__self">/r/{{repoId}}</a>.
<a href="/r/{{repoId}}/" target="__self">/r/{{repoId}}/</a>.
</p>
<p ng-if="repo.options.page">
Your GitHub Page will be available at
<a href="/w/{{repoId}}" target="__self">/w/{{repoId}}</a>.
<a href="/w/{{repoId}}/" target="__self">/w/{{repoId}}/</a>.
</p>
<p class="text-center">
<a
class="btn btn-primary"
href="/r/{{repoId}}"
href="/r/{{repoId}}/"
target="__self"
ng-if="repo.status == 'ready'"
>Go to the anonymized repository</a
>
<a
class="btn"
href="/w/{{repoId}}"
href="/w/{{repoId}}/"
target="__self"
ng-if="repo.options.page && repo.status == 'ready'"
>Go to the anonymized Gh-page</a
>Go to the anonymized Github page</a
>
</p>
</section>