File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1515 {{range $i, $v := .TreeNames}}
1616 <div class="breadcrumb-divider">/</div>
1717 {{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>
1919 <span data-tooltip-content="{{ctx.Locale.Tr "repo.editor.filename_help"}}">{{svg "octicon-info"}}</span>
2020 {{else}}
2121 <span class="section"><a href="{{$.BranchLink}}/{{index $.TreePaths $i | PathEscapeSegments}}">{{$v}}</a></span>
Original file line number Diff line number Diff line change 1313 {{range $i, $v := .TreeNames}}
1414 <div class="breadcrumb-divider">/</div>
1515 {{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>
1717 <span data-tooltip-content="{{ctx.Locale.Tr "repo.editor.filename_help"}}">{{svg "octicon-info"}}</span>
1818 {{else}}
1919 <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