Add support for the display of monotone node attributes.
(also fix the way the attributes view is displayed, i.e. do not use single strings, but one string in context which is much easier to translate)
This commit is contained in:
@@ -13,13 +13,13 @@
|
||||
<th>{trans 'Size'}</th>
|
||||
</tr>
|
||||
</thead>{if (!$tree_in and !$tags_in and $commit != 'HEAD') || $props}
|
||||
{aurl 'url', 'IDF_Views_Source::commit', array($project.shortname, $commit)}
|
||||
{aurl 'url', 'IDF_Views_Source::commit', array($project.shortname, $commit)}
|
||||
<tfoot>
|
||||
{if $props}
|
||||
<tr><th colspan="6">
|
||||
<ul>
|
||||
{foreach $props as $prop => $val}
|
||||
<li>{trans 'Property'} <strong>{$prop}</strong> {trans 'set to:'} <em>{$val}</em></li>
|
||||
<li>{blocktrans}Property <strong>{$prop}</strong> set to <em>{$val}</em>{/blocktrans}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</th></tr>
|
||||
@@ -45,7 +45,7 @@
|
||||
<td class="fileicon"><img src="{media '/idf/img/'~$file.type~'.png'}" alt="{$file.type}" /></td>
|
||||
|
||||
<td><a href="{$url}">{$file.file}</a></td>
|
||||
<td><span class="smaller">{$file.date|dateago:"without"}</span></td>
|
||||
<td><span class="smaller">{$file.date|dateago:"without"}</span></td>
|
||||
<td>{$file.rev}</td>
|
||||
<td{if $file.type != 'blob'} colspan="2"{/if}><span class="smaller">{$file.author|strip_tags|trim}{trans ':'} {issuetext $file.log, $request, true, false}</span></td>
|
||||
{if $file.type == 'blob'}
|
||||
|
Reference in New Issue
Block a user