Sha256: d0863b6b5f063668151f43390326587c0236dc506186f6f63aa9d6f71e9ecd89

Contents?: true

Size: 1.4 KB

Versions: 1

Compression:

Stored size: 1.4 KB

Contents

<article>
<h1 style="font-size:1.8em;"><i data-entry-icon="'object'"></i> {{path}} <small>Object</small></h1>

<table class="table">

<tbody>
<tr><th>type</th><td>
<i data-entry-icon="object.type"></i> {{object.type}}
</td>
</tr>
<tr><th>sha1</th><td>{{object.sha1}}</td></tr>
<tr><th>size</th><td>{{object.size}}</td></tr>

<tr data-ng-repeat="prop in object.properties">
<th>{{prop.key}}</th>
<td data-ng-switch="prop.type">
<span data-ng-switch-when="sha1"><a href="#/.git/{{prop.path}}">{{prop.value}}</a></span>
<span data-ng-switch-when="user">{{prop.value}} <small style="color:#aaa">{{prop.date}}</small></span>
<span data-ng-switch-default>{{prop.value}}</span>
</td>
</tr>
</tbody>

<tbody data-ng-switch="object.type">
<tr data-ng-switch-when="blob"><th>content</th><td><pre>{{object.content}}</pre></td></tr>
<tr data-ng-switch-when="commit"><th>message</th><td>{{object.message}}</td></tr>
<tr data-ng-switch-when="tag"><th>message</th><td>{{object.message}}</td></tr>
<tr data-ng-switch-when="tree"><th>entries</th><td>

<table class="table table-striped table-condensed">
<thead>
<tr>
<th>mode</th>
<th>filename</th>
<th>sha1</th>
</tr>
</thead>
<tbody>
<tr data-ng-repeat="entry in object.entries">
<td><i data-mode-icon="entry.mode"></i> {{entry.mode}}</td>
<td>{{entry.filename}}</td>
<td><a href="#" data-ref-href="entry">{{entry.sha1}}</a></td>
</tr>
</tbody>

</table>
</td></tr>

</tbody>

</table>


</article>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
git-object-browser-0.0.2 htdocs/templates/object.html