%h2 #{@language}

- if @users.any?
  #users.row.clearfix
    .col-md-12
      %h3
        =t("language.developers.count", count: user_count, language: @language)
        = link_to t("view_all"), users_language_path(@language.downcase), :class => 'btn btn-default'

        %ul.avatar-list.clearfix
          = render @users

- if @pull_requests.any?
  #pull_requests.row.clearfix
    .col-md-12
      %h3
        =t("language.pull_requests.latest.count", count: pull_request_count_for_language, language: @language)
        = link_to t("view_all"), pull_requests_language_path(@language.downcase), :class => 'btn btn-default pull-right'

      = render @pull_requests

- if @projects.any?
  #projects.row.clearfix
    .col-md-12
      %h3
        = t("language.projects_count", count: project_count_for_language, language: @language)
        = link_to t("language.projects.suggest", language: @language), new_project_path(language: @language.downcase), :class => 'btn btn-default pull-right'
        = link_to t("view_all"), projects_language_path(@language.downcase), :class => 'btn btn-default pull-right'

    = render @projects

%h2 #{@language}

- if @users.any?
  #users.row.clearfix
    .col-md-12
      %h3
        =t("language.developers.count", count: user_count, language: @language)
        = link_to t("view_all"), users_language_path(@language.downcase), :class => 'btn btn-default'

        %ul.avatar-list.clearfix
          = render @users

- if @pull_requests.any?
  #pull_requests.row.clearfix
    .col-md-12
      %h3
        =t("language.pull_requests.latest.count", count: pull_request_count_for_language, language: @language)
        = link_to t("view_all"), pull_requests_language_path(@language.downcase), :class => 'btn btn-default pull-right'

      = render @pull_requests

- if @projects.any?
  #projects.row.clearfix
    .col-md-12
      %h3
        = t("language.projects_count", count: project_count_for_language, language: @language)
        = link_to t("language.projects.suggest", language: @language), new_project_path(language: @language.downcase), :class => 'btn btn-default pull-right'
        = link_to t("view_all"), projects_language_path(@language.downcase), :class => 'btn btn-default pull-right'

      = render @projects

Remove big gap on language pages
Remove big gap on language pages

Fixes #774
