diff --git a/indefero/src/IDF/Views/Source.php b/indefero/src/IDF/Views/Source.php
index 0dc5b47..cb3b525 100644
--- a/indefero/src/IDF/Views/Source.php
+++ b/indefero/src/IDF/Views/Source.php
@@ -106,7 +106,10 @@ class IDF_Views_Source
$title = sprintf(__('%1$s %2$s Change Log'), (string) $request->project,
$this->getScmType($request));
- $changes = $scm->getChangeLog($commit, 25);
+ if (isset($_GET["full"]))
+ $changes = $scm->getChangeLog($commit, null);
+ else
+ $changes = $scm->getChangeLog($commit, 25);
$rchanges = array();
// Sync with the database
foreach ($changes as $change) {
@@ -128,6 +131,7 @@ class IDF_Views_Source
'tags' => $tags,
'tags_in' => $in_tags,
'scm' => $scmConf,
+ 'full' => isset($_GET["full"]) ? true : false
),
$request);
}
diff --git a/indefero/src/IDF/templates/idf/source/changelog.html b/indefero/src/IDF/templates/idf/source/changelog.html
index 9223651..9615226 100644
--- a/indefero/src/IDF/templates/idf/source/changelog.html
+++ b/indefero/src/IDF/templates/idf/source/changelog.html
@@ -1,6 +1,11 @@
{extends "idf/source/base.html"}
{block docclass}yui-t1{assign $inChangeLog=true}{/block}
{block body}
+ {if !$full}
+ Click Here for the full changelog
+ {/if}
+
+