comparison rhodecode/templates/files/files_edit.html @ 2199:31ebf7010566 beta

various fixes for git and mercurial with InMemoryCommit backend and non-ascii files - hg use tolocal for unicode objects - git use core.quotepath=false for commands
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 17 Apr 2012 23:00:36 +0200
parents feb0fccdcf83
children 76d156bef5a2
comparison
equal deleted inserted replaced
2198:9784a54a0f5b 2199:31ebf7010566
54 ${h.link_to(_('source'),h.url('files_home',repo_name=c.repo_name,revision=c.cs.raw_id,f_path=c.f_path),class_="ui-btn")} 54 ${h.link_to(_('source'),h.url('files_home',repo_name=c.repo_name,revision=c.cs.raw_id,f_path=c.f_path),class_="ui-btn")}
55 % endif 55 % endif
56 % endif 56 % endif
57 </div> 57 </div>
58 </div> 58 </div>
59 <div class="commit">${_('Editing file')}: ${c.file.path}</div> 59 <div class="commit">${_('Editing file')}: ${c.file.unicode_path}</div>
60 </div> 60 </div>
61 <pre id="editor_pre"></pre> 61 <pre id="editor_pre"></pre>
62 <textarea id="editor" name="content" style="display:none">${h.escape(c.file.content)|n}</textarea> 62 <textarea id="editor" name="content" style="display:none">${h.escape(c.file.content)|n}</textarea>
63 <div style="padding: 10px;color:#666666">${_('commit message')}</div> 63 <div style="padding: 10px;color:#666666">${_('commit message')}</div>
64 <textarea id="commit" name="message" style="height: 60px;width: 99%;margin-left:4px"></textarea> 64 <textarea id="commit" name="message" style="height: 60px;width: 99%;margin-left:4px"></textarea>