2008-11-18 08:15:02 +00:00
|
|
|
{extends "idf/source/base.html"}
|
2008-07-27 15:43:51 +00:00
|
|
|
{block docclass}yui-t1{assign $inChangeLog=true}{/block}
|
2008-07-26 23:31:10 +00:00
|
|
|
{block body}
|
|
|
|
<table summary="" class="tree-list">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>{trans 'Age'}</th>
|
|
|
|
<th>{trans 'Message'}</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{foreach $changes as $change}
|
2008-12-05 13:51:51 +00:00
|
|
|
{aurl 'url', 'IDF_Views_Source::commit', array($project.shortname, $change.scm_id)}
|
2008-07-27 15:43:51 +00:00
|
|
|
<tr class="log">
|
2008-12-05 13:51:51 +00:00
|
|
|
<td><a href="{$url}">{$change.creation_dtime|dateago:"wihtout"}</a></td>
|
|
|
|
<td>{issuetext $change.summary, $request}{if $change.fullmessage}<br /><br />{issuetext $change.fullmessage, $request}{/if}</td>
|
2008-07-27 15:43:51 +00:00
|
|
|
</tr>
|
|
|
|
<tr class="extra">
|
|
|
|
<td colspan="2">
|
2008-12-05 13:51:51 +00:00
|
|
|
<div class="helptext right">{trans 'Commit'} <a href="{$url}" class="mono">{$change.scm_id}</a>,
|
|
|
|
{trans 'by'} {showuser $change.get_author(), $request, $change.origauthor}
|
2008-07-27 15:43:51 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</td>
|
2008-07-26 23:31:10 +00:00
|
|
|
</tr>
|
|
|
|
{/foreach}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
{/block}
|
|
|
|
{block context}
|
2008-11-23 16:45:00 +00:00
|
|
|
{if $scm != 'svn'}
|
2008-07-26 23:31:10 +00:00
|
|
|
<p><strong>{trans 'Branches:'}</strong><br />
|
|
|
|
{foreach $branches as $branch}
|
|
|
|
{aurl 'url', 'IDF_Views_Source::changeLog', array($project.shortname, $branch)}
|
|
|
|
<span class="label{if $commit == $branch} active{/if}"><a href="{$url}" class="label">{$branch}</a></span><br />
|
|
|
|
{/foreach}
|
|
|
|
</p>
|
2008-11-23 16:45:00 +00:00
|
|
|
{else}
|
2008-09-12 10:32:27 +00:00
|
|
|
<form class="star" action="{url 'IDF_Views_Source_Svn::changelogRev', array($project.shortname)}" method="get">
|
2008-09-03 07:33:29 +00:00
|
|
|
<p><strong>{trans 'Revision:'}</strong> {$commit}</p>
|
2008-08-29 18:38:13 +00:00
|
|
|
<p>
|
|
|
|
<input accesskey="4" type="text" value="{$commit}" name="rev" size="5" />
|
2008-08-29 17:50:10 +00:00
|
|
|
<input type="submit" name="s" value="{trans 'Go to revision'}" />
|
|
|
|
</p>
|
2008-08-29 18:38:13 +00:00
|
|
|
</form>
|
2008-08-29 17:50:10 +00:00
|
|
|
{/if}
|
2008-07-26 23:31:10 +00:00
|
|
|
{/block}
|
|
|
|
|