diff --git a/Source/Source.php b/Source/Source.php
index e16a468..ec9959f 100644
--- a/Source/Source.php
+++ b/Source/Source.php
@@ -77,6 +77,7 @@
function hooks() {
return array(
'EVENT_PLUGIN_INIT' => 'post_init',
+ 'EVENT_LAYOUT_RESOURCES' => 'css',
);
}
@@ -93,6 +94,10 @@
plugin_child( 'SourceGeneric' );
}
+ function css() {
+ return '';
+ }
+
function schema() {
return array(
array( 'CreateTableSQL', array( plugin_table( 'repository' ), "
diff --git a/Source/SourceIntegration.php b/Source/SourceIntegration.php
index 648eb8d..f7b0303 100644
--- a/Source/SourceIntegration.php
+++ b/Source/SourceIntegration.php
@@ -64,8 +64,10 @@
name . ': ' . event_signal( 'EVENT_SOURCE_SHOW_CHANGESET', array( $t_repo, $t_changeset ) ) ) ?>
timestamp ) ?>
author ) ?>
-
-
+
+ id, plugin_lang_get( 'details', 'Source' ) );
+ ?>
message ) ?> |
@@ -74,8 +76,14 @@
|
-
-
+
|
diff --git a/Source/files/style.css b/Source/files/style.css
new file mode 100644
index 0000000..d7a2eff
--- /dev/null
+++ b/Source/files/style.css
@@ -0,0 +1 @@
+span.small-links span.bracket-link { font-weight: normal; font-size: 7pt; }
diff --git a/Source/lang/strings_english.txt b/Source/lang/strings_english.txt
index f0748f7..ede76fd 100644
--- a/Source/lang/strings_english.txt
+++ b/Source/lang/strings_english.txt
@@ -43,6 +43,7 @@
$s_plugin_Source_issues = 'Issues';
$s_plugin_Source_actions = 'Actions';
+$s_plugin_Source_details = 'Details';
$s_plugin_Source_browse = 'Browse';
$s_plugin_Source_manage = 'Manage';
$s_plugin_Source_create = 'Create';
diff --git a/Source/pages/list.php b/Source/pages/list.php
index 3f69406..4980532 100644
--- a/Source/pages/list.php
+++ b/Source/pages/list.php
@@ -31,8 +31,15 @@
-name ?> |
- |
+name ?> |
+
+id, plugin_lang_get( 'manage' ) );
+}
+print_bracket_link( plugin_page( 'index' ), plugin_lang_get( 'back' ) );
+?>
+ |
">
timestamp ?>
- author ?>
+ author ?>
+
+ id, plugin_lang_get( 'details', 'Source' ) );
+ ?>
+
message ) ?> |
@@ -61,8 +73,14 @@
|
-
-
+
|
diff --git a/Source/pages/view.php b/Source/pages/view.php
index 8e65cd9..2823c7f 100644
--- a/Source/pages/view.php
+++ b/Source/pages/view.php
@@ -26,6 +26,12 @@
$t_repo = array_shift( $t_repos );
}
+if ( $t_changeset->parent ) {
+ $t_changeset_parent = SourceChangeset::load_by_revision( $t_repo, $t_changeset->parent );
+} else {
+ $t_changeset_parent = null;
+}
+
$t_type = SourceType($t_repo->type);
html_page_top1( plugin_lang_get( 'title' ) );
@@ -36,24 +42,22 @@
- |
+name ), ': ', event_signal( 'EVENT_SOURCE_SHOW_CHANGESET', array( $t_repo, $t_changeset ) ) ?> |
id . '&offset=' . $f_offset, "Back to Repository" ) ?> |
- |
- |
|
|
|
+ |
>
-name ?> |
-revision ?> |
-branch ?> |
-author ?> |
-timestamp ?> |
+branch ) ?> |
+author ) ?> |
+timestamp ) ?> |
+id, event_signal( 'EVENT_SOURCE_SHOW_CHANGESET', array( $t_repo, $t_changeset_parent ) ) ); } ?> |
bugs ) > 0 ) { ?>
@@ -70,7 +74,7 @@
$t_bug = bug_get( $t_bug_id );
echo ( $t_first ? '' : '' );
?>
-', bug_format_id( $t_bug_id ), ': ', string_display_line( $t_bug->summary ) ?> |
+', bug_format_id( $t_bug_id ), ': ', string_display_line( $t_bug->summary ) ?> |
@@ -81,12 +85,12 @@
|
-message ) ?> |
+message ) ?> |
files as $t_file ) { ?>
>
- |
+ |
|