some fixes

This commit is contained in:
Lunny Xiao 2017-10-25 13:26:14 +08:00
parent 796be03e9b
commit 219ca5cadb
No known key found for this signature in database
GPG key ID: C3B7C91B632F738A
3 changed files with 5 additions and 3 deletions

View file

@ -14,7 +14,8 @@
<input type="radio" class="js-quick-pull-choice-option" name="commit_choice" value="direct" {{if eq .commit_choice "direct"}}checked{{end}}>
<label>
<i class="octicon octicon-git-commit" height="16" width="14"></i>
{{.i18n.Tr "repo.editor.commit_directly_to_this_branch" .BranchName | Safe}}
{{$branchName := .BranchName | Str2html}}
{{.i18n.Tr "repo.editor.commit_directly_to_this_branch" $branchName | Safe}}
</label>
</div>
</div>