File tree 1 file changed +7
-7
lines changed 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 46
46
{{end}}
47
47
{{if not .ReadmeInList}}
48
48
<div class="ui buttons mr-2">
49
- <button class="ui mini basic button small compact tooltip copy-content" id="clipboard-btn" data-content="{{.locale.Tr "copy_content"}}" aria-label="{{.locale.Tr "copy_content"}}"
50
- {{if or (.IsMarkup) (.IsRenderedHTML) (not .IsTextSource)}}
51
- disabled
52
- {{end}}
53
- >
54
- {{svg "octicon-copy" 14}}
55
- </button>
56
49
<a class="ui mini basic button" href="{{$.RawFileLink}}">{{.locale.Tr "repo.file_raw"}}</a>
57
50
{{if not .IsViewCommit}}
58
51
<a class="ui mini basic button" href="{{.RepoLink}}/src/commit/{{PathEscape .CommitID}}/{{PathEscapeSegments .TreePath}}">{{.locale.Tr "repo.file_permalink"}}</a>
65
58
<a class="ui mini basic button unescape-button" style="display: none;">{{.locale.Tr "repo.unescape_control_characters"}}</a>
66
59
<a class="ui mini basic button escape-button">{{.locale.Tr "repo.escape_control_characters"}}</a>
67
60
{{end}}
61
+ <button class="ui mini basic button small compact tooltip copy-content" id="clipboard-btn" data-content="{{.locale.Tr "copy_content"}}" aria-label="{{.locale.Tr "copy_content"}}"
62
+ {{if or (.IsMarkup) (.IsRenderedHTML) (not .IsTextSource)}}
63
+ disabled
64
+ {{end}}
65
+ >
66
+ {{svg "octicon-copy" 14}}
67
+ </button>
68
68
</div>
69
69
<a download href="{{$.RawFileLink}}"><span class="btn-octicon tooltip" data-content="{{.locale.Tr "repo.download_file"}}" data-position="bottom center">{{svg "octicon-download"}}</span></a>
70
70
{{if .Repository.CanEnableEditor}}
You can’t perform that action at this time.
0 commit comments