ausybenelux / Ocelot

Ocelot is a theming starter kit for drupal 7.
5 stars 2 forks source link

Default views-more.tpl.php in Ocelot #186

Open kimkennof-dp opened 9 years ago

kimkennof-dp commented 9 years ago

The contrib Views module provides a More link template file, which contains spaces inside the <a> element, which are then visualised on the frontend, e.g. when underlining...

Please provide a clean, updated template file in our Ocelot theme structure containing the proper output:

<?php

/**
 * @file
 * Theme the more link.
 *
 * - $view: The view object.
 * - $more_url: the url for the more link.
 * - $link_text: the text for the more link.
 *
 * @ingroup views_templates
 */
?>

<div class="more-link">
  <a href="<?php print $more_url ?>"><?php print $link_text; ?></a>
</div>

For example in Ocelot/templates/views/views-more.tpl.php