Mercurial > kallithea
diff rhodecode/templates/files/files_edit.html @ 3237:f5dd76e2a7af beta
disable file editing when not on branch head fixes issue #462
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 27 Jan 2013 00:18:49 +0100 |
parents | c20adbaf16af |
children | 1f334a68d057 |
line wrap: on
line diff
--- a/rhodecode/templates/files/files_edit.html Sat Jan 26 23:18:51 2013 +0100 +++ b/rhodecode/templates/files/files_edit.html Sun Jan 27 00:18:49 2013 +0100 @@ -61,7 +61,7 @@ <pre id="editor_pre"></pre> <textarea id="editor" name="content" style="display:none">${h.escape(c.file.content)|n}</textarea> <div style="padding: 10px;color:#666666">${_('commit message')}</div> - <textarea id="commit" name="message" style="height: 60px;width: 99%;margin-left:4px"></textarea> + <textarea id="commit" name="message" style="height: 60px;width: 99%;margin-left:4px" placeholder="${c.default_message}"></textarea> </div> <div style="text-align: left;padding-top: 5px"> ${h.submit('commit',_('Commit changes'),class_="ui-btn")}