Fixing Issue 84
This commit is contained in:
parent
62c7cec9d0
commit
d0095cb454
@ -106,7 +106,10 @@ class IDF_Views_Source
|
|||||||
|
|
||||||
$title = sprintf(__('%1$s %2$s Change Log'), (string) $request->project,
|
$title = sprintf(__('%1$s %2$s Change Log'), (string) $request->project,
|
||||||
$this->getScmType($request));
|
$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();
|
$rchanges = array();
|
||||||
// Sync with the database
|
// Sync with the database
|
||||||
foreach ($changes as $change) {
|
foreach ($changes as $change) {
|
||||||
@ -128,6 +131,7 @@ class IDF_Views_Source
|
|||||||
'tags' => $tags,
|
'tags' => $tags,
|
||||||
'tags_in' => $in_tags,
|
'tags_in' => $in_tags,
|
||||||
'scm' => $scmConf,
|
'scm' => $scmConf,
|
||||||
|
'full' => isset($_GET["full"]) ? true : false
|
||||||
),
|
),
|
||||||
$request);
|
$request);
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,11 @@
|
|||||||
{extends "idf/source/base.html"}
|
{extends "idf/source/base.html"}
|
||||||
{block docclass}yui-t1{assign $inChangeLog=true}{/block}
|
{block docclass}yui-t1{assign $inChangeLog=true}{/block}
|
||||||
{block body}
|
{block body}
|
||||||
|
{if !$full}
|
||||||
|
<a href="?full=true">Click Here for the full changelog</a>
|
||||||
|
{/if}
|
||||||
|
<br/>
|
||||||
|
<br/>
|
||||||
<table summary="" class="tree-list">
|
<table summary="" class="tree-list">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
Loading…
Reference in New Issue
Block a user