Merge pull request #39 from colkito/feature/no-blocks-message

added a message for no blocks in blocklist page
This commit is contained in:
Matias Alejo Garcia 2014-01-14 13:12:00 -08:00
commit 82cddd9dd0
1 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,7 @@
<li><a href="#!/blocks-date/{{pagination.next}}">{{pagination.next}} &raquo;</a></li>
</ul>
</div>
<table class="table table-striped">
<table class="table table-striped" ng-show="blocks || blocks.length">
<thead>
<th>Hash</th>
<th>Solved at</th>
@ -23,4 +23,5 @@
</tr>
</tbody>
</table>
<h1 class="text-center text-muted" ng-hide="!blocks || blocks.length">No blocks yet.</h1>
</section>