|
|
|
|
@ -33,6 +33,7 @@
@@ -33,6 +33,7 @@
|
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="right fitted item"> |
|
|
|
|
{{if .Repository.CanEnableEditor}} |
|
|
|
|
<div id="file-buttons" class="ui tiny buttons"> |
|
|
|
|
{{if .CanAddFile}} |
|
|
|
|
<a href="{{.RepoLink}}/_new/{{EscapePound .BranchName}}/{{EscapePound .TreePath}}" class="ui button"> |
|
|
|
|
@ -45,6 +46,9 @@
@@ -45,6 +46,9 @@
|
|
|
|
|
</a> --> |
|
|
|
|
{{end}} |
|
|
|
|
</div> |
|
|
|
|
{{end}} |
|
|
|
|
|
|
|
|
|
<!-- Only show colne panel in repository home page --> |
|
|
|
|
{{if eq $n 0}} |
|
|
|
|
<div class="ui action small input" id="clone-panel"> |
|
|
|
|
<button class="ui basic clone button" id="repo-clone-https" data-link="{{.CloneLink.HTTPS}}"> |
|
|
|
|
|