Only show the ten most popular tags on the site dashboard

If there are fewer than 10 tags, it looks a bit weird saying "Popular
tags...".

Adam Maddison
Delivery Manager
07919 054 221


On 7 August 2014 15:50, Jamie Cobbett <notifications@github.com> wrote:

> In app/views/sites/_mappings.html.erb:
>
> > @@ -39,7 +39,7 @@
> >          <div class="list-group-item add-vertical-padding">
> >            <h4 class="list-group-item-heading">Mappings by tag</h4>
> >            <div class="list-group-item-text">
> > -            <p class="text-muted add-bottom-margin">Tags used for grouping <%= @site.default_host.hostname %> mappings</p>
> > +            <p class="text-muted add-bottom-margin">Ten of the most popular tags used for grouping <%= @site.default_host.hostname %> mappings</p>
>
> The Ten will look odd when there are fewer than ten. If this said Popular
> tags used for grouping we dodge that trap.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/alphagov/transition/pull/373/files#r15939844>.
>