Skip to content
Browse files

Merge pull request #639 from ossreleasefeed/display-user-msg-on-empty…

…-result-760637

providing user message when no results are returned fixes bug 760637
  • Loading branch information...
2 parents 482bc49 + 8873320 commit a3608a577d2506e53b2e56a6d42fc50b660a6227 @brandonsavage brandonsavage committed Jun 6, 2012
View
4 webapp-php/application/views/common/signature_urls.php
@@ -1,4 +1,5 @@
<div id="sigurls" class="ui-tabs-hide">
+ <?php if(count($urls) > 0) { ?>
<table id="sigurls-tbl" class="tablesorter data-table">
<thead>
<tr>
@@ -18,4 +19,7 @@
<?php } ?>
</tbody>
</table>
+ <?php } else { ?>
+ <p>No URLs found for signature <?php if (isset($display_signature)) { out::H($display_signature); } ?></p>
+ <?php } ?>
</div>
View
1 webapp-php/application/views/report/do_list.php
@@ -191,6 +191,7 @@
if ($logged_in) {
View::factory('common/signature_urls', array(
'urls' => $urls,
+ 'display_signature' => $display_signature
))->render(TRUE);
}
?>

0 comments on commit a3608a5

Please sign in to comment.
Something went wrong with that request. Please try again.