Skip to content

Commit 59edd90

Browse files
committed
Add tooltip for symlinks
1 parent 4a64b69 commit 59edd90

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

options/locale/locale_en-US.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2782,6 +2782,7 @@ topic.done = Done
27822782
topic.count_prompt = You cannot select more than 25 topics
27832783
topic.format_prompt = Topics must start with a letter or number, can include dashes ('-') and dots ('.'), can be up to 35 characters long. Letters must be lowercase.
27842784
2785+
find_file.follow_symlink= Follow this symlink to where it is pointing at
27852786
find_file.go_to_file = Go to file
27862787
find_file.no_matching = No matching file found
27872788

templates/repo/view_list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
{{else}}
4343
<a class="entry-name" href="{{$.TreeLink}}/{{PathEscapeSegments $entry.Name}}" title="{{$entry.Name}}">{{$entry.Name}}</a>
4444
{{if $entry.IsLink}}
45-
<a class="entry-symbol-link flex-text-inline" href="{{$.TreeLink}}/{{PathEscapeSegments $entry.Name}}?follow_symlink=1">{{svg "octicon-link" 12}}</a>
45+
<a class="entry-symbol-link flex-text-inline" data-tooltip-content title="{{ctx.Locale.Tr "repo.find_file.follow_symlink"}}" href="{{$.TreeLink}}/{{PathEscapeSegments $entry.Name}}?follow_symlink=1">{{svg "octicon-link" 12}}</a>
4646
{{end}}
4747
{{end}}
4848
{{end}}

0 commit comments

Comments
 (0)