Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kimkennof-dp opened this issue Nov 18, 2015 · 0 comments
Open

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

kimkennof-dp opened this issue Nov 18, 2015 · 0 comments
Milestone

Comments

@kimkennof-dp
Copy link
Contributor

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

@rob-bar rob-bar modified the milestone: Version 0.2.2 Dec 4, 2015
@rob-bar rob-bar modified the milestones: Version 1.0.0, Version 1.1.0 Jan 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants