Browse Source

fix locale for Markdown ref

pull/946/head
Evgeny Malyshev 10 years ago
parent
commit
b634a5e9b1
  1. 9
      templates/repo/comment_form.tmpl

9
templates/repo/comment_form.tmpl

@ -6,15 +6,12 @@
<img class="avatar-40 radius" src="{{.SignedUser.AvatarLink}}" alt=""/> <img class="avatar-40 radius" src="{{.SignedUser.AvatarLink}}" alt=""/>
<div class="panel panel-radius"> <div class="panel panel-radius">
<div class="panel-header"> <div class="panel-header">
<div class="md-help pull-right"><!-- todo help link -->
{{.i18n.Tr "repo.release.content_with_md" "https://help.github.com/articles/markdown-basics" | Str2html}}
</div>
<ul class="menu menu-line add-nav"> <ul class="menu menu-line add-nav">
<li class="js-tab-nav js-tab-nav-show" data-tab-target="#commit-add-comment-form"><a href="#">{{$.i18n.Tr "repo.release.write"}}</a></li> <li class="js-tab-nav js-tab-nav-show" data-tab-target="#commit-add-comment-form"><a href="#">{{$.i18n.Tr "repo.release.write"}}</a></li>
<li class="js-tab-nav" data-tab-target="#commit-add-comment-preview"><a href="#" id="pull-commit-preview">{{$.i18n.Tr "repo.release.preview"}}</a></li> <li class="js-tab-nav" data-tab-target="#commit-add-comment-preview"><a href="#" id="pull-commit-preview">{{$.i18n.Tr "repo.release.preview"}}</a></li>
<span class="text-right" style="float: right;">
<a href="https://guides.github.com/features/mastering-markdown/" target="_blank">
<span class="octicon octicon-markdown"></span>
Markdown supported
</a>
</span>
</ul> </ul>
</div> </div>
<div class="panel-content content"> <div class="panel-content content">

Loading…
Cancel
Save