From bcbe7a8f0259929c6a10b86f5f54fc1857f7c443 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Fri, 13 Jun 2014 16:10:57 +0000 Subject: [PATCH] added some front-code for log message editing in the code revision view. subversion manipulation yet to be done. --- codepot/src/codepot/views/code_revision.php | 58 ++++++++++++++++++++- codepot/src/css/code.css | 4 ++ 2 files changed, 61 insertions(+), 1 deletion(-) diff --git a/codepot/src/codepot/views/code_revision.php b/codepot/src/codepot/views/code_revision.php index b8503d9c..3178a7c0 100644 --- a/codepot/src/codepot/views/code_revision.php +++ b/codepot/src/codepot/views/code_revision.php @@ -6,6 +6,43 @@ + + + + + + <?=htmlspecialchars($project->name)?> @@ -118,7 +155,15 @@ $history = $file['history'];
-
Message
+
lang->line('Message')?> +    + + lang->line('Edit'), + array ('id' => 'code_revision_edit_logmsg_button')); + ?> + +
+
 
 
@@ -170,6 +215,17 @@ $history = $file['history'];
+
+ id}${revreqroot}", 'id="code_revision_edit_logmsg_form"')?> + 'code_revision_edit_logmsg', + 'value' => $history['msg'], 'rows'=> 10, 'cols' => 70) + ); + ?> + +
+ diff --git a/codepot/src/css/code.css b/codepot/src/css/code.css index 51a3e7c2..e43efdaa 100644 --- a/codepot/src/css/code.css +++ b/codepot/src/css/code.css @@ -184,6 +184,10 @@ overflow: auto; } +#code_revision_mainarea_result .title .anchor { + font-size: 9pt; +} + #code_revision_mainarea_result_msg { border: 0; padding: 0;