<div id="quick_search_project_objects_result">
  <h3>{lang}Search Results{/lang}</h3>
{if is_foreachable($results)}
  <table>
{foreach from=$results item=object}
    <tr class="{cycle values='odd,even'}">
      <td class="star">{favorite_object object=$object user=$logged_user}</td>
      <td class="name">
        {object_link object=$object} <span class="details">{lang}in{/lang} {project_link project=$object->getProject()}</span>
      </td>
    </tr>
{/foreach}
  </table>
  {if $pagination->hasNext()}
  {assign var=items_per_page value=$pagination->getItemsPerPage()}
  <p id="quick_search_more_results"><a href="{assemble route=search q=$search_for type=$search_type}">{lang count=$pagination->getTotalItems()-$items_per_page}:count more &raquo;{/lang}</a></p>
  {/if}
{else}
  <p>{lang}We haven't found any data in projects that matched your request{/lang}</p>
{/if}
</div>