mirror of
https://github.com/go-gitea/gitea.git
synced 2026-04-17 19:25:28 +02:00
Update templates/repo/view_file.tmpl
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: hamkido <hamki.do2000@gmail.com>
This commit is contained in:
parent
7a5c352d25
commit
82a91140bf
@ -38,7 +38,7 @@
|
||||
{{if .FileSidebarHTML}}
|
||||
<button class="btn-octicon" id="toggle-sidebar-btn" data-tooltip-content="{{ctx.Locale.Tr "toc"}}">{{svg "octicon-list-unordered"}}</button>
|
||||
{{end}}
|
||||
{{/* this componment is also controlled by frontend plugin renders */}}
|
||||
{{/* this component is also controlled by frontend plugin renders */}}
|
||||
<div class="ui compact icon buttons file-view-toggle-buttons {{Iif .HasSourceRenderedToggle "" "tw-hidden"}}">
|
||||
{{if .IsRepresentableAsText}}
|
||||
<a href="?display=source" class="ui mini basic button file-view-toggle-source {{if .IsDisplayingSource}}active{{end}}" data-tooltip-content="{{ctx.Locale.Tr "repo.file_view_source"}}">{{svg "octicon-code" 15}}</a>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user