From f54a47e46b48d557fa6e88f563c3ace0112442ed Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Wed, 28 Jan 2015 13:52:30 +0000 Subject: [PATCH] started adding review comment editing to code_revision.php --- codepot/src/codepot/views/code_revision.php | 58 +++++++++++++++++++-- 1 file changed, 53 insertions(+), 5 deletions(-) diff --git a/codepot/src/codepot/views/code_revision.php b/codepot/src/codepot/views/code_revision.php index f83cbfca..8e603309 100644 --- a/codepot/src/codepot/views/code_revision.php +++ b/codepot/src/codepot/views/code_revision.php @@ -6,6 +6,8 @@ + + @@ -64,10 +66,23 @@ $(function() { + + + <?=htmlspecialchars($project->name)?> - +
@@ -186,11 +201,13 @@ $history = $file['history'];
-
-
+
+ +
-
Files updated
+
lang->line('Files')?>
- + + + +
lang->line('Comment')?>
+
+id}${revreqroot}", 'id="code_revision_review_comment_form"'); + + print form_textarea ( + array ('name' => 'edit_review_comment', + 'value' => '', 'rows'=> 20, 'cols' => 120, + 'id' => 'code_revision_edit_review_comment') + ); + + print "
"; + + //print form_submit ('submit_review_comment', $this->lang->line('Submit')); + print form_submit ('submit_review_comment', 'Submit'); + + print form_close(); +?> +
+ + + + @@ -251,6 +298,7 @@ $history = $file['history']; 'value' => $history['msg'], 'rows'=> 10, 'cols' => 70, 'id' => 'code_revision_edit_log_message') ) + ?>