diff --git a/codepot/src/codepot/views/code_file.php b/codepot/src/codepot/views/code_file.php
index 21c8cd3a..93a841d6 100644
--- a/codepot/src/codepot/views/code_file.php
+++ b/codepot/src/codepot/views/code_file.php
@@ -239,7 +239,7 @@ $this->load->view (
- ';
$user_icon_url = codepot_merge_path (site_url(), '/user/icon/' . $this->converter->AsciiToHex($file['last_author']));
print "
";
@@ -272,7 +272,7 @@ $this->load->view (
printf ('[%s] ', $file['created_rev']);
print strftime ('%Y-%m-%d %H:%M:%S %z', $file['time_t']);
print '
';
- ?>
+ ?>
@@ -383,8 +383,6 @@ if ($login['settings'] != NULL &&
-
-
' . $this->lang->line('History');
- if ($revision > 0 && $revision < $next_revision)
- {
- print anchor ("code/revision/{$project->id}/{$hex_headpath}", $this->lang->line('Head revision'));
- print ' | ';
- }
-
- if ($revision > 0)
- {
- if ($hex_headpath == '') $revtrailer = $revreqroot;
- else $revtrailer = "/{$hex_headpath}{$revreq}";
- print anchor ("code/history/{$project->id}{$revtrailer}", $history_anchor_text);
- }
- else
- {
- print anchor ("code/history/{$project->id}/{$hex_headpath}", $history_anchor_text);
- }
?>
-
-
+
+
+ ';
+ $user_icon_url = codepot_merge_path (site_url(), '/user/icon/' . $this->converter->AsciiToHex($history['author']));
+ print "
";
+ print htmlspecialchars ($history['author']);
+ print '
';
-
+ print '';
+
+ print '
';
+ printf ('[%s] ', $history['rev']);
+ print strftime ('%Y-%m-%d %H:%M:%S %z', strtotime($history['date']));
+ print '
';
+ ?>
+
+
+
+
+
diff --git a/codepot/src/css/code.css b/codepot/src/css/code.css
index 6e82daed..8ac22290 100644
--- a/codepot/src/css/code.css
+++ b/codepot/src/css/code.css
@@ -78,12 +78,14 @@
}
#code_file_mainarea_metadata_header,
-#code_blame_mainarea_metadata_header {
+#code_blame_mainarea_metadata_header,
+#code_revision_mainarea_result_message_header {
line-height: 2em;
}
#code_file_mainarea_metadata_header .metadata-committer-icon,
-#code_blame_mainarea_metadata_header .metadata-committer-icon {
+#code_blame_mainarea_metadata_header .metadata-committer-icon,
+#code_revision_mainarea_result_message_header .metadata-committer-icon {
height: 2em;
width: auto;
vertical-align: middle;
@@ -95,24 +97,28 @@
}
#code_file_mainarea_metadata_header .metadata-committer,
-#code_blame_mainarea_metadata_header .metadata-committer {
+#code_blame_mainarea_metadata_header .metadata-committer,
+#code_revision_mainarea_result_message_header .metadata-committer {
float: left;
color: #111111;
}
#code_file_mainarea_metadata_header .metadata-menu,
-#code_blame_mainarea_metadata_header .metadata-menu {
+#code_blame_mainarea_metadata_header .metadata-menu,
+#code_revision_mainarea_result_message_header .metadata-menu {
float: left;
margin-left: 1em;
}
#code_file_mainarea_metadata_header .metadata-commit-date,
-#code_blame_mainarea_metadata_header .metadata-commit-date {
+#code_blame_mainarea_metadata_header .metadata-commit-date,
+#code_revision_mainarea_result_message_header .metadata-commit-date {
float: right;
}
#code_file_mainarea_metadata_body,
-#code_blame_mainarea_metadata_body {
+#code_blame_mainarea_metadata_body,
+#code_revision_mainarea_result_message_body {
background-color: #FCFCFC;
padding: 0 0.5em 0 0.5em;
margin: 0;
@@ -240,13 +246,10 @@
}
#code_revision_mainarea_result .collapsible-box{
- margin-top: 0.5em;
+ margin-bottom: 0.5em;
}
-#code_revision_mainarea_result_msg {
-}
-
-#code_revision_mainarea_result_msg_text {
+#code_revision_mainarea_result_message_text {
line-height: 1.3em;
padding: 0 0.2em 0 0.2em;
}