# HG changeset patch # User Mads Kiilerich # Date 2013-12-10 19:30:37 # Node ID eac6c70e63e8ed2d5b66dcdc298d7c257bfe15d6 # Parent ab38e825d303fe569f2bcb499c4f4c658c3863c2 comments: always show vote controls, use 'No change' as default instead of current review status diff --git a/kallithea/public/css/style.css b/kallithea/public/css/style.css --- a/kallithea/public/css/style.css +++ b/kallithea/public/css/style.css @@ -4460,7 +4460,7 @@ div.rst-block pre { /** comment form **/ .status-block { - min-height: 80px; + margin: 5px; clear: both } diff --git a/kallithea/templates/changeset/changeset_file_comment.html b/kallithea/templates/changeset/changeset_file_comment.html --- a/kallithea/templates/changeset/changeset_file_comment.html +++ b/kallithea/templates/changeset/changeset_file_comment.html @@ -149,35 +149,34 @@ ${(_('Comments parsed using %s syntax with %s support.') % (('RST' % h.url('rst_help')), '@mention' % _('Use @username inside this text to send notification to this Kallithea user')))|n} - %if change_status: - | - %if is_pr: - ${_('Vote for pull request status')} - %else: - ${_('Change changeset status')} - %endif - - - %endif -
${_('Preview')}
+
${_('Preview')}
+
+ ${h.textarea('text', class_="comment-block-ta")} %if change_status: - %endif -
- ${h.textarea('text', class_="comment-block-ta")} %endif +