|
|
|
@ -113,8 +113,11 @@ |
|
|
|
|
<button id="download-btn" class="ui basic jump dropdown icon button poping up" data-content="{{.i18n.Tr "repo.download_archive"}}" data-variation="tiny inverted" data-position="top right"> |
|
|
|
|
{{svg "octicon-download"}} |
|
|
|
|
<div class="menu"> |
|
|
|
|
<a class="item archive-link" data-url="{{$.RepoLink}}/archive/{{EscapePound $.BranchName}}.zip">{{svg "octicon-file-zip"}} ZIP</a> |
|
|
|
|
<a class="item archive-link" data-url="{{$.RepoLink}}/archive/{{EscapePound $.BranchName}}.tar.gz">{{svg "octicon-file-zip"}} TAR.GZ</a> |
|
|
|
|
<a class="item" href="vscode://vscode.git/clone?url={{if $.PageIsWiki}}{{$.WikiCloneLink.HTTPS}}{{else}}{{$.CloneLink.HTTPS}}{{end}}"> |
|
|
|
|
{{.i18n.Tr "repo.clone_in_vsc"}} |
|
|
|
|
</a> |
|
|
|
|
<a class="item archive-link" data-url="{{$.RepoLink}}/archive/{{EscapePound $.BranchName}}.zip">{{svg "octicon-file-zip"}} {{.i18n.Tr "repo.download_zip"}}</a> |
|
|
|
|
<a class="item archive-link" data-url="{{$.RepoLink}}/archive/{{EscapePound $.BranchName}}.tar.gz">{{svg "octicon-file-zip"}} {{.i18n.Tr "repo.download_tar"}}</a> |
|
|
|
|
</div> |
|
|
|
|
</button> |
|
|
|
|
</div> |
|
|
|
|