File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 15
15
{{range $i, $v := .TreeNames}}
16
16
<div class="breadcrumb-divider">/</div>
17
17
{{if eq $i $l}}
18
- <input id="file-name" maxlength="500 " value="{{$v}}" placeholder="{{ctx.Locale.Tr "repo.editor.name_your_file"}}" data-editorconfig="{{$.EditorconfigJson}}" required autofocus>
18
+ <input id="file-name" maxlength="255 " value="{{$v}}" placeholder="{{ctx.Locale.Tr "repo.editor.name_your_file"}}" data-editorconfig="{{$.EditorconfigJson}}" required autofocus>
19
19
<span data-tooltip-content="{{ctx.Locale.Tr "repo.editor.filename_help"}}">{{svg "octicon-info"}}</span>
20
20
{{else}}
21
21
<span class="section"><a href="{{$.BranchLink}}/{{index $.TreePaths $i | PathEscapeSegments}}">{{$v}}</a></span>
Original file line number Diff line number Diff line change 13
13
{{range $i, $v := .TreeNames}}
14
14
<div class="breadcrumb-divider">/</div>
15
15
{{if eq $i $l}}
16
- <input type="text" id="file-name" maxlength="500 " value="{{$v}}" placeholder="{{ctx.Locale.Tr "repo.editor.add_subdir"}}" autofocus>
16
+ <input type="text" id="file-name" maxlength="255 " value="{{$v}}" placeholder="{{ctx.Locale.Tr "repo.editor.add_subdir"}}" autofocus>
17
17
<span data-tooltip-content="{{ctx.Locale.Tr "repo.editor.filename_help"}}">{{svg "octicon-info"}}</span>
18
18
{{else}}
19
19
<span class="section"><a href="{{$.BranchLink}}/{{index $.TreePaths $i | PathEscapeSegments}}">{{$v}}</a></span>
You can’t perform that action at this time.
0 commit comments